v1

latestSwagger 2.02026-08-06114111152.5 KB
Team

Rotate a service account access key

Generates a fresh key and secret for the service account. The previous key and secret stop working immediately, so update any automation using them. Admin only.

post/v1/team-management/service-accounts/{id}/rotate

Path parameters

idinteger required

Numeric ID of the service account whose key and secret to rotate.

Response

Rotate a service account access key

idinteger required

Unique numeric service-account ID.

identifierstring required

Human-friendly label shown on the dashboard and test detail pages.

keystring required

TestingBot API key (username) for this service account.

secretstring required

TestingBot API secret for this service account. Store it as a CI secret.

created_atstring date-time required

When the service account was created.