Admin

Stop an account switching its workspace role (admins only).

The account keeps the role it has now and can no longer switch it. Idempotent. Audited. Scope: account:write. Free.

delete/admin/users/{userId}/workspace-role-switch

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/admin/users/{userId}/workspace-role-switch
  • Auth: HTTP bearer

Response

Switching is off for the account.

userIdstring required
enabledboolean required
changedboolean required

False when it already was that way: nothing was recorded.

Changes

No recorded changes to this operation across all 1 revision of this API.