Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Update a member role

Changes a member's role to owner, admin, member or viewer.

PUT https://app.upfour.io/v1/organization/members/{memberID}/role
PUT https://app.upfour.io/v1/organization/members/{memberID}/role

A real request. Sending it changes data in your up4 account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs member.write.
Path
Body
rolerequired

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope member.write stable returns 204

Parameters

FieldTypeDescription
memberID required uuid path parameter · The member's user_id (not the membership id) from the member list.

Body

application/json required 1 field

rolestringrequired
owneradminmemberviewer
In the app: Role

Returns

A successful request returns 204 with no response body.

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
403 permission_denied The credentials do not permit this action.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.