RotateServiceAccountKey replaces a service account key with a new one that has the same name, and expires the old key after an optional grace period.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

OrganizationID is the organization ID.

string
required

ServiceAccountID is the service account ID.

string
required

KeyID is the ID of the key to rotate.

Body Params

RotateServiceAccountKeyRequest is the request for rotating a service account key.

date-time
required

ExpiresAt is the expiration time of the new key. It must be in the future, at most 366 days ahead.

int32

GracePeriodSeconds is how long the old key keeps working after the rotation, in seconds. 0 or omitted means the
old key stops working immediately; at most 604800 (7 days). An old key that expires earlier keeps its earlier
expiration.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json