Delete key metadata (DELETE /v1/{tenant_id}/secrets/{resource_id})

Deletes the specified key metadata.

{tenant_id}: Project ID used to delete the key metadata

{resource_id}: Resource ID of the key metadata to be deleted

Request headers

X-Auth-Token

Specify the authentication token.

Data type Cardinality
String 1..1

Request parameters

None

Request body

None

Response headers

Status

The following error codes can be returned for the request.

One of the following values will be returned.

204:
Normal completion
401:
Authentication error (no authentication token, incorrect authentication token, etc.)
400:
Invalid access (invalid parameter, etc.)
403:
Cannot access (no privileges)
404:
No applicable resources
500:
Unexpected error
Data type Cardinality
int 1..1

Response elements

None

Example of request


       DELETE /v1/a759452216fd41cf8ee5aba321cfbd49/secrets/a417d40d-cec7-4129-a5ad-afaac6fab603
X-Auth-Token: "1b1551c5008c42899daa8fcc699f2631"
     

Example of response


Status Code: 204 No content
Content-Length: 0