APIPricing

End seat assignment

End a seat assignment; only valid while the row is still open. For a live row this stops the seat being counted, effective now. For a not-yet-started (scheduled) row it cancels the schedule and re-extends the assignment it superseded, so the prior plan resumes for the months it would have covered.

POST
/seat-assignments/{id}/end

End a seat assignment; only valid while the row is still open. For a live row this stops the seat being counted, effective now. For a not-yet-started (scheduled) row it cancels the schedule and re-extends the assignment it superseded, so the prior plan resumes for the months it would have covered.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.

Required permission

manage_seat_pricing

Path Parameters

id*string
Formatuuid

Response Body

The request has succeeded.

application/json
  1. response

A user's (or the org default's) assignment to a provider subscription plan.

id*string
Formatuuid
user_id?string

Omitted assigns the org default seat.

Formatuuid
provider*LLMProvider

LLM telemetry provider.

Value in"claude""codex""gemini""copilot"
plan*string
Length1 <= length <= 100
effective_from?string
Formatdate-time
effective_to?string
Formatdate-time
curl -X POST "https://example.com/seat-assignments/497f6eca-6276-4993-bfeb-53cbbbba6f08/end"
{  "id": null,  "user_id": null,  "provider": "claude",  "plan": "string",  "effective_from": "2019-08-24T14:15:22Z",  "effective_to": "2019-08-24T14:15:22Z"}