Teams

Change a team member's role

Changes a member's role by member id or user email. Only an owner can grant the owner role, and the last owner's role cannot be changed until another owner exists.

patch/v1/teams/{teamId}/members/{memberId}

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/teams/{teamId}/members/{memberId}
  • Auth: HTTP bearer

Path parameters

teamIdstring required
memberIdstring required

Request body

role'owner' | 'admin' | 'member' required

The role to grant this member.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

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