Skip to main content
PATCH
/
projects
/
{id}
/
users
/
{userId}
/
role
Update user role in project
curl --request PATCH \
  --url https://api.justanotheruptime.com/projects/{id}/users/{userId}/role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Documentation Index

Fetch the complete documentation index at: https://docs.justanotheruptime.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Project ID

userId
string
required

User ID to update

Body

application/json
role
enum<string>
required
Available options:
user,
admin,
project_manager,
super_admin

Response

User role successfully updated