ogranisation
Create API Key
ogranisation
Create API Key
POST
/
organisation
/
add-api-key
curl --request POST \
--url https://api.isosceles.ai/organisation/add-api-key \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"api_key_name": "<string>"
}'
{
"api_keys": [
{
"api_key": "ATHENA_xxxxx",
"name": "Local dev"
},
{
"api_key": "ATHENA_yyyy",
"name": "laboriosam ab eligendi"
}
],
"created_at": "Wed, 24 Apr 2024 16:12:25 GMT",
"email": "ayush@byteleap.co",
"id": 4,
"name": "Organization for ayush@byteleap.co",
"org_uuid": "07ccd2f0-2e2c-47e6-91b6-d872baf86448",
"token": null
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
Response
200 - application/json
The response is of type object
.
curl --request POST \
--url https://api.isosceles.ai/organisation/add-api-key \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"api_key_name": "<string>"
}'
{
"api_keys": [
{
"api_key": "ATHENA_xxxxx",
"name": "Local dev"
},
{
"api_key": "ATHENA_yyyy",
"name": "laboriosam ab eligendi"
}
],
"created_at": "Wed, 24 Apr 2024 16:12:25 GMT",
"email": "ayush@byteleap.co",
"id": 4,
"name": "Organization for ayush@byteleap.co",
"org_uuid": "07ccd2f0-2e2c-47e6-91b6-d872baf86448",
"token": null
}