Skip to content
No results found.

Rotate Key

Scopes
write:key

Path Parameters

type
string
Required
POST
/keys/{type}/rotate
cURL
cURLC#DartGoJavaJavaScriptPHPPythonRubyRustSwift
1
2
3
Loading...
Response
200
200
Loading...

Response Body Schema

created_at
number
Required

Key creation date in milliseconds since the epoch

revoked_at
integer

Revocation time in milliseconds since the epoch

rotated_at
integer

Rotation time in milliseconds since the epoch

key
object
Required

Public JWK. You can look at JWK specification from here

key.
alg
string
Required
key.
e
string
Required
key.
kid
string
Required
key.
kty
string
Required
key.
n
string
Required
key.
use
string
Required
key.
key_ops
array<string>
key.
x5c
array<string>
key.
x5t
string
key.
x5t#S256
string
key.
x5u
string