edit_project_permissions
Endpoint#
| Property | Value |
|---|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/edit_project_permissions |
| Handler | OperatelyWeb.Api.Mutations.EditProjectPermissions |
Authentication#
- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
Inputs#
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
project_id | string | No | Yes | - |
access_levels | access_levels object | No | Yes | - |
Outputs#
| Field | Type | Required | Nullable |
|---|---|---|---|
success | boolean | No | Yes |
cURL Example#
Copied
curl --request POST \
--url "https://app.operately.com/api/external/v1/edit_project_permissions" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"access_levels":{"company":123, "public":123, "space":123}, "project_id":"value"}'Response Example#
{
"success": true
}