cURL
curl --request POST \ --url https://staging.depot.mesa.dev/{org}/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "scopes": [ "git:read" ] } '
{ "id": "<string>", "key": "<string>", "name": "<string>", "scopes": [ "<string>" ], "created_at": "<string>" }
Create a new API key for programmatic access
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
git:read
git:write
repo:read
repo:create
repo:delete
admin
API key created