Uptimeify Docs
Api tokens

Delete Organization Token

Permanently revokes an API token. Requires admin role.

DELETE /api/organization/tokens/:id

Example (cURL)

curl -X DELETE "$BASE_URL/api/organization/tokens/1" \
  -H "Cookie: $SESSION_COOKIE"

Response

{ "success": true }

Common errors

  • 401 Unauthorized when not authenticated
  • 403 Forbidden when not an admin
  • 404 Token not found when the token doesn't exist or belongs to another org

On this page