Projects API: Delete contributor
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/projects/delete_contributor |
| Handler | OperatelyWeb.Api.Projects.DeleteContributor |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
contrib_id | string | Yes | No | - |
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
project_contributor | project_contributor object | Yes | No |
cURL Example#
Section titled “cURL Example#”Copied
curl --request POST \
--url "https://app.operately.com/api/external/v1/projects/delete_contributor" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"contrib_id":"value"}'Response Example#
Section titled “Response Example#”{ "project_contributor": { "__typename": "value", "access_level": "<access_options_int>", "id": "value", "permissions": "<project_permissions>", "person": "<person>", "project": "<project>", "responsibility": "value", "role": "champion" }}