Skip to main content
PATCH
Change a member tool permissions

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

The keys to switch on and off. A key not named keeps its state. A key that is not in the list, or not editable, refuses the whole request with validation_failed and nothing changes.

enable
string[]
Maximum array length: 1000
Example:
disable
string[]
Maximum array length: 1000
Example:

Response

The permissions after the change.

data
object
required
Example: