Directories
Rotate a directory's API key
Generates a new API key for the directory and returns it in the api_key field. This is the only way to obtain the key after creation, so make sure to update it in your identity provider. The previous key remains valid for a short grace period before it expires.
post/directories/{directory_id}/rotate_api_key
Path parameters
directory_idstring required
The ID of the directory whose API key to rotate
Response
A directory