PUT
/
manage
/
apikey
curl --request PUT \
  --url https://router.requesty.ai/manage/apikey \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "monthly_limit": 123,
  "permissions": {
    "manage": "none",
    "completions": "write"
  }
}'
{
  "api_key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "api_key": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication

Body

application/json

Response

201
application/json

API key created successfully

The response is of type object.