Update a key-pair
PUT /api/key-pairs/:key_pair_id updates the identified key-pair resource
Required scope: clients:manage:all
| Path Parameters |
|---|
key_pair_id string — REQUIRED |
| Request Body — REQUIRED |
|---|
key_pair objectid string | public_key string | is_default boolean |
|
| Responses |
|---|
| Schema — OPTIONAL |
|---|
data object — OPTIONALid string — OPTIONAL | public_key string — OPTIONAL | is_default boolean — OPTIONAL |
|
|
| Schema — OPTIONAL |
|---|
errors object — OPTIONAL |
|
401
The client is unauthorized to access this resource. | Schema — OPTIONAL |
|---|
code string | message string |
|
403
The client is forbidden to access this resource. | Schema — OPTIONAL |
|---|
code string | message string |
|
404
The requested resource could not be found. | Schema — OPTIONAL |
|---|
code string | message string |
|
422
The request payload is invalid. | Schema — OPTIONAL |
|---|
errors object — OPTIONAL |
|