useApiAuthKeys
TheuseApiAuthKeys hook manages API auth keys for the current API auth app session.
Parameters
Optional key status filter.
Return Value
Current key list.
Whether keys are loading.
Error from the latest request.
Create a new key and receive its secret once.
Rotate an existing key and receive the new secret.
Revoke a key.
Revalidate key list.
Example
Related
- useApiAuthAuditLogs - API auth request logs
- useApiAuthAppSession - API auth app session state
