Team

Change a member's role

Requires admin or owner. Only owner can promote to owner.

put/v1/team/{user_id}/role

Request

  • Base URL: https://api.deadsimple.email
  • URL: https://api.deadsimple.email/v1/team/{user_id}/role
  • Auth: HTTP bearer

Path parameters

user_idstring required

Headers

X-Workspace-Idstring uuid

Target a specific workspace. Required for account-wide API keys that want workspace-scoped results.

Request body

role'viewer' | 'developer' | 'admin' | 'owner' required

Response

Role updated

Changes

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