Delete Registration Token

Delete Registration Token
Delete registration token by id.

Allows deletion of registration token. \ This operation is idempotent.

Request
URI
DELETE
https://{api_host}/baremetal/registration-tokens/{token-id}
COPY
Path Parameters
string
token-id
Required

token-id used to identify registration token.


Authentication
This operation uses the following authentication methods.
Responses
202

Accepted

Operation doesn't return any data structure

default

Error response on API failure.

Returns Error of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required

Message describing the error.


Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/baremetal/registration-tokens/{token-id}