The created API key.
AuthenticationRequired if authentication is missing.
ApiError with status 400 if invalid request data.
ApiError with status 401 if authentication is invalid.
Revoke (delete) an API key.
Permanently deletes an API key. Any requests using this key will be rejected immediately. This action cannot be undone.
The API key ID to revoke.
AuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
List your API keys.
Returns all API keys associated with your account. For security, only the key prefix is returned (not the full key).
AuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
Login with Discord OAuth2. Exchange a Discord OAuth2 authorization code for a JWT token.
Flow:
The JWT token should be included in subsequent requests as: Authorization: Bearer {token}
The Discord authorization code.
The JWT token.
ApiError with status 400 if invalid or expired authorization code.
Update an API key.
Update the description or expiration date of an existing API key. You cannot change the key itself - create a new one if needed.
The API key ID to update.
The fields to update.
The updated API key
AuthenticationRequired if authentication is missing.
ApiError with status 400 if invalid update data.
ApiError with status 401 if authentication is invalid.
ApiError with status 404 if API key not found or doesn't belong to you.
Create a new API key.
Generate a new API key for programmatic access to the API. Important: The full API key is only shown once in the response. Store it securely.