mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: change format of key from uuid to string to fix swagger issue (#19380)
ref: https://codercom.slack.com/archives/C014JH42DBJ/p1755192759211289 this change allows api keys to be deleted via swagger
This commit is contained in:
Generated
+8
-8
@@ -919,10 +919,10 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/keys/{keyid} \
|
||||
|
||||
### Parameters
|
||||
|
||||
| Name | In | Type | Required | Description |
|
||||
|---------|------|--------------|----------|----------------------|
|
||||
| `user` | path | string | true | User ID, name, or me |
|
||||
| `keyid` | path | string(uuid) | true | Key ID |
|
||||
| Name | In | Type | Required | Description |
|
||||
|---------|------|----------------|----------|----------------------|
|
||||
| `user` | path | string | true | User ID, name, or me |
|
||||
| `keyid` | path | string(string) | true | Key ID |
|
||||
|
||||
### Example responses
|
||||
|
||||
@@ -965,10 +965,10 @@ curl -X DELETE http://coder-server:8080/api/v2/users/{user}/keys/{keyid} \
|
||||
|
||||
### Parameters
|
||||
|
||||
| Name | In | Type | Required | Description |
|
||||
|---------|------|--------------|----------|----------------------|
|
||||
| `user` | path | string | true | User ID, name, or me |
|
||||
| `keyid` | path | string(uuid) | true | Key ID |
|
||||
| Name | In | Type | Required | Description |
|
||||
|---------|------|----------------|----------|----------------------|
|
||||
| `user` | path | string | true | User ID, name, or me |
|
||||
| `keyid` | path | string(string) | true | Key ID |
|
||||
|
||||
### Responses
|
||||
|
||||
|
||||
Reference in New Issue
Block a user