API Key Management API
Create, list, and delete P0 API keys programmatically with the Management API.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.p0.app/o/{orgId}/api-key/keysFirebase Authentication token, API token, or P0 JWT
Organization identifier
API keys retrieved successfully
Unique identifier for the API key
Human-readable name for the API key
Timestamp when the key was created
User or service account that created the key
Unauthorized
Forbidden - User lacks apikey.metadata.read permission
Firebase Authentication token, API token, or P0 JWT
Organization identifier
Unique name for the API key (used for identification)
API key created successfully
Unique identifier for the API key
Human-readable name for the API key
Timestamp when the key was created
The actual API key value. IMPORTANT: This is only returned once at creation time. Store it securely.
User or service account that created the key
Bad Request - Invalid input or duplicate key name
Unauthorized
Forbidden - User lacks apikey.add permission
Firebase Authentication token, API token, or P0 JWT
Organization identifier
API key identifier
API key deleted successfully
Unauthorized
Forbidden - User lacks apikey.delete permission
API key not found
Response notes
Last updated