Skip to main content
PATCH
Change a member's role

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Headers

x-magnific-team-id
string<uuid>

Personal token only: the team the call acts on (its UUID). The caller must be an active member of it. Without it, the team in the token is used; with neither, the call is team_required (400). Ignored for an API key, which always acts on its own team.

Path Parameters

member_id
string
required

A member of your team, as GET /team/members lists it.

Pattern: ^usr_[0-9a-f]{16}$

Body

application/json
role
enum<string>
required

Management role. Ownership can't be given this way.

Available options:
admin,
group_admin,
member
Example:

"member"

Response

The member.

data
object
required
Example: