-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathkey_delete.yml
More file actions
42 lines (29 loc) · 925 Bytes
/
key_delete.yml
File metadata and controls
42 lines (29 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
operationId: spacesKey_delete
summary: "Delete a Spaces Access Key"
description: |
To delete a Spaces Access Key, send a DELETE request to `/v2/spaces/keys/$ACCESS_KEY`.
A successful request will return a `204 No Content` status code.
tags:
- Spaces Keys
parameters:
- $ref: "parameters.yml#/access_key_id"
responses:
"204":
$ref: "../../shared/responses/no_content.yml"
"401":
$ref: "../../shared/responses/unauthorized.yml"
"404":
$ref: "../../shared/responses/not_found.yml"
"429":
$ref: "../../shared/responses/too_many_requests.yml"
"500":
$ref: "../../shared/responses/server_error.yml"
default:
$ref: "../../shared/responses/unexpected_error.yml"
x-codeSamples:
- $ref: "examples/curl/spaces_key_delete.yml"
- $ref: "examples/go/spaces_key_delete.yml"
- $ref: "examples/python/spaces_key_delete.yml"
security:
- bearer_auth:
- "spaces_key:delete"