Update workspace role permissions
curl --request PATCH \
--url http://localhost:3001/v1/member-access/roles/{roleId} \
--header 'Content-Type: application/json' \
--data '
{
"permissions": {}
}
'{
"roles": [
{
"name": "<string>",
"description": "<string>",
"locked": true,
"permissions": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assignments": [
{
"id": "<string>",
"email": "jsmith@example.com",
"clerkUserId": "<string>",
"invitedByUserId": "<string>",
"activatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}โ๏ธ Settings & Access
Update workspace role permissions
PATCH
/
v1
/
member-access
/
roles
/
{roleId}
Update workspace role permissions
curl --request PATCH \
--url http://localhost:3001/v1/member-access/roles/{roleId} \
--header 'Content-Type: application/json' \
--data '
{
"permissions": {}
}
'{
"roles": [
{
"name": "<string>",
"description": "<string>",
"locked": true,
"permissions": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"assignments": [
{
"id": "<string>",
"email": "jsmith@example.com",
"clerkUserId": "<string>",
"invitedByUserId": "<string>",
"activatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Headers
Minimum string length:
1Minimum string length:
1Path Parameters
Available options:
admin, operations, read_only Body
application/json
Show child attributes
Show child attributes
โI
