Projects
Operations related to project management
Prepare API Key Rotation
POST
/project/rotate-api-key/prepareGenerates a pending API key and returns it. The current key keeps working until the rotation is committed with the pending key. Preparing again replaces the pending key. A pending key expires after 15 minutes.
Commit API Key Rotation
POST
/project/rotate-api-key/commitSend the pending key from prepare in X-API-Key, with the API
secret. The pending key becomes current and the previous key stops
working. Repeating the commit with the now-current key returns
status: current, so a lost response is safe to retry.