Dashboard
APIUpdate Admin API - PUT /admins Endpoint | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Mock
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Update Admin - Modify Team Member Permissions via API

Change the permissions assigned to an existing administrator. You can expand access by adding new permissions or restrict it by removing them. This replaces the admin's entire permission set with the new array you provide.

PUT/v2/projects/{project_id}/admins/{user_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

user_idstringrequired

The unique identifier of the admin user.

Request Body

permissionsarrayrequired

Array of permission strings to grant.

Last updated: