Teams

Change a member's role and/or project access (session only; owners manage everyone, admins developers/viewers/billing)

patch/orgs/{orgId}/members/{userId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/orgs/{orgId}/members/{userId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

orgIdstring uuid required
userIdstring uuid required

Request body

role'owner' | 'admin' | 'developer' | 'viewer' | 'billing'

Response

Updated members

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

your role in this team

Changes

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