Skip to main content

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 object
id string
public_key string
is_default boolean
Responses
200
Schema — OPTIONAL
data object — OPTIONAL
id string — OPTIONAL
public_key string — OPTIONAL
is_default boolean — OPTIONAL
400

Bad request.

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