patch/me/tier

Change my org's tier

Headers

ParameterInTypeDescription
authorization
headerstring

Request body

Request example
{
  "tier": "<Tier>"
}

Responses

200Successful Response
Example · 200
{
  "id": "<Id>",
  "name": "<Name>",
  "email": "<Email>",
  "tier": "<Tier>",
  "status": "<Status>",
  "created_at": "<Created At>",
  "daily_requests_used": 0,
  "monthly_requests_used": 0,
  "new_daily_limit": 0,
  "new_monthly_limit": 0,
  "over_daily_limit": false,
  "over_monthly_limit": false
}
422Validation Error
Example · 422
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "<Message>",
      "type": "<Error Type>"
    }
  ]
}

Code samples

Generated from the live OpenAPI spec. Replace $SAVITAR_API_KEY with a key from your dashboard.

curl -X PATCH "https://redactra-api-direct-yjxsqk46ja-el.a.run.app/me/tier" \
  -H "Authorization: Bearer $SAVITAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tier": "<Tier>"
}'