Permission required:
service_account:update (your own keys only) or service_account:update (all keys)- When the key was not created by a virtual member: only your own key can be regenerated — another person’s is refused to everyone, the owner included (403 API_KEY_OF_ANOTHER_MEMBER, or 409 when its creator has left the team):
service_account:update(your own keys only) orservice_account:update(your own keys only) - When the key was created by a virtual member ranked below you: member:manage_virtual or the owner, in place of the update permission: team owner only or
member:manage_virtual
Path Parameters
Headers
Optional. Retrying with the same value replays the first result — it does NOT mint a second key.
Request Body
When the replaced key stops working. now (default) = immediately. 1h / 24h / 7d = both keys work until then. Rotating again while a replaced key is still working ends that one at once — at most two keys work at the same time.
Response
Errors
Errors answer withsuccess: false, a message and an error_code. See Error Codes for every code.