cURL
curl --request POST \ --url https://api.firma.dev/functions/v1/signing-request-api/workspaces/{id}/api-key/regenerate \ --header 'Authorization: <api-key>'
{ "message": "API key regenerated. Old keys will expire in 24 hours.", "workspace_id": "123e4567-e89b-12d3-a456-426614174000", "new_key": "firma_api_abc123xyz...", "expiring_keys": [ { "id": "old-key-uuid", "expires_at": "2024-12-18T10:30:00Z" } ] }
API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.
Workspace ID
API key regenerated successfully
The newly generated API key
List of keys that were set to expire in 24 hours
Show child attributes
Was this page helpful?
Suggestions
Contact support