Create an API key
POST/v2/auth/api_keys
Exchanges a challenge_id from /v2/auth/challenges and the code revealed after Desktop approval for an api_key and the grant approved by the user. The grant states the permission, full space_ids, and whether all current and future user spaces are covered. Use the key as a bearer credential in the Authorization header. No existing API key is required.
Requestโ
Responsesโ
- 201
- 400
- 403
- 500
The API key and its approved grant
Bad request
Untrusted request origin or host
Internal server error