API keys
API key management through the API for a specific project.
Warning
This documentation describes the keys
API for projects. If you're looking for information on how to create an API key from the dashboard, read Using the API.
All keys
- Description: Retrieves all the API keys for a given project.
- Endpoint:
/v1/projects/{projectId}/keys
- Method: GET
- Request:
- Headers:
x-api-header: ApiKey <api-key>
(required): Your API key
- Route params:
projectId
(required): The project to query
- Headers:
- Response:
- Body: (JSON)
Create API key
- Description: Creates an API key for a given project
- Endpoint:
/v1/projects/{projectId}/keys
- Method: POST
- Request:
- Headers:
x-api-header: ApiKey <api-key>
(required): Your API key
- Route params:
projectId
(required): The project to query
- Body: (JSON)
- Headers:
- Response:
Delete an API key
- Description: Deletes an API key for a given project
- Endpoint:
/v1/projects/{projectId}/keys/{keyId}
- Method: DELETE
- Request:
- Headers:
x-api-header: ApiKey <api-key>
(required): Your API key
- Route params:
projectId
(required): The project to querykeyId
(required): The key to delete
- Headers:
- Response: