workspace

Update Member Usage Limit

Changed on

Sets or clears the monthly credit usage limit of a workspace member or service account. This endpoint may only be called by workspace administrators.

put/v1/workspace/members/{user_id}/usage-limit

Request

Path parameters

user_idstring required

User ID of the target user.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

usage_limitinteger nullable required

Monthly credit usage limit for the member. Set to null to remove the limit.

Response

Successful Response

statusstring required

Changes