PUT/api/v1/workspaces/{workspace_id}/members/{member_user_id}

Change a member's role

Makes a member an admin, a member or a viewer.

API token required30 per minute per IP

Guide: Members and roles

Code samples and Try it

Path parameters

#
  • workspace_idstringRequired

    The workspace's id, from the address of its settings page (markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.

  • member_user_idstringRequired

Request body

#

application/json, required

  • role"admin" | "member" | "viewer"Required

    admin, member or viewer.

Responses

#
  • 204No content.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?