Create a key-pair
POST /api/key-pairs creates a key-pair resource
Required scope: clients:manage:all
| 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 |
|---|
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 |
|
422
The request payload is invalid. | Schema — OPTIONAL |
|---|
errors object — OPTIONAL |
|