Skip to main content
POST
/
partner
/
orgs
/
{orgId}
/
rotate-tokens
Rotate organization tokens
curl --request POST \
  --url https://api.onecli.sh/v1/partner/orgs/{orgId}/rotate-tokens \
  --header 'Authorization: Bearer <token>'
{
  "orgApiKey": "<string>",
  "projectApiKey": "<string>"
}

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Path Parameters

orgId
string
required

Response

New tokens

orgApiKey
string
projectApiKey
string