Skip to main content

Rotate a key-pair

POST /api/key-pairs/:key_pair_id/rotate rotates the identified key-pair resource

Required scope: clients:manage:all

Path Parameters
key_pair_id string REQUIRED
Responses
200
Schema OPTIONAL
data object OPTIONAL
id string OPTIONAL
public_key string OPTIONAL
is_default boolean 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