cURL
curl --request POST \ --url http://localhost:8000/v2/keys \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Create a new Key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace to scope the key to
ID of the peer to scope the key to
ID of the session to scope the key to
Successful Response