Update an audience
Change an audience's name, description, or icon, turn it on or off, or change who it admits. Send only the fields you want to change.
The three lists are replaced, not merged. When you send workspace_role_ids, project_role_ids, or member_ids, that list becomes exactly what you sent: ids you leave out are removed. A list you don't send stays as it is. To add one person, read the audience, append the user id to member_ids, and send the whole list back. Send [] to empty a list.
Changes apply to every work item the audience restricts as soon as the request returns. Setting is_active to false lifts its restriction everywhere it is attached, without detaching it. Setting it back to true restores the restriction.
Path parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.
pk:requiredstring (uuid)The id of the audience to update.
Body parameters
name:optionalstringNew display name. Maximum 255 characters. It can't be blank, and another audience in the workspace with the same name returns 409.
description:optionalstringNew note on what the audience is for. Send an empty string to clear it.
logo_props:optionalobjectIcon descriptor shown next to the audience in Plane. Send back the value you read instead of building it by hand.
is_active:optionalbooleanfalse stops the audience from restricting anything while keeping its lists and attachments. true turns it back on.
workspace_role_ids:optionalarray of string (uuid)The complete list of workspace roles the audience admits. Replaces the current list. Each id must be a workspace role of this workspace or a system workspace role. The owner and admin roles return 400.
project_role_ids:optionalarray of string (uuid)The complete list of project roles the audience admits. Replaces the current list. Each id must be a project role of this workspace or a system project role.
member_ids:optionalarray of string (uuid)The complete list of users the audience admits by name. Replaces the current list. Each one must be an active member of the workspace.
Response shaping
fields:optionalstringComma-separated list of fields to return. Fields you don't request are left out of the response instead of coming back as null. id is always included. Pass all to get every requestable field.
An unknown field name returns 400 with the list of valid names, so a typo is caught instead of being silently ignored. See Sparse fields.
Requestable here: created_at, created_by_id, description, id, is_active, logo_props, member_ids, name, project_role_ids, updated_at, updated_by_id, usage_count, workspace_role_ids.
expand:optionalstringComma-separated relations to embed alongside the ids: members (the users behind member_ids, each with id, display_name, avatar_url, and email).
Expanded objects get their own key: ?expand=members keeps member_ids and adds a members array next to it. An unknown value returns 400. See Expanding relations.
Scopes
workspaces.audiences:write
Errors
| Status | Code | Cause |
|---|---|---|
400 | invalid_request | name is blank. Or a role id is unknown, in the wrong namespace, or the workspace owner or admin role. Or a user in member_ids isn't an active workspace member. |
401 | unauthorized | Missing or invalid credentials. |
402 | payment_required | Work item security isn't on your plan, or is switched off. |
403 | forbidden | Your role can't edit audiences, or your token scope doesn't allow this. |
404 | not_found | No such audience in this workspace, you can't view audiences, or it's outside your tenant. |
405 | method_not_allowed | You sent PUT. Use PATCH. |
406 | not_acceptable | The Accept header asks for a representation the API can't produce. |
409 | conflict | Another audience in this workspace already has this name. |
413 | payload_too_large | The request body is over the size limit. |
415 | unsupported_media_type | The Content-Type isn't one this endpoint accepts. |
429 | rate_limited | Throttled. Honor the Retry-After header before retrying. |
curl -X PATCH \
"https://api.plane.so/api/v2/workspaces/my-team/audiences/8bcf2c8f-7bd0-4d0c-bdc6-82df9fa1f312/" \
-H "X-Api-Key: $PLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"member_ids": [
"7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71",
"8ea770c7-d743-464a-9ede-788850dfa5e8"
]
}'import requests
response = requests.patch(
"https://api.plane.so/api/v2/workspaces/my-team/audiences/8bcf2c8f-7bd0-4d0c-bdc6-82df9fa1f312/",
headers={"X-Api-Key": "your-api-key"},
json={
"member_ids": [
"7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71",
"8ea770c7-d743-464a-9ede-788850dfa5e8",
]
},
)
print(response.json())const response = await fetch(
"https://api.plane.so/api/v2/workspaces/my-team/audiences/8bcf2c8f-7bd0-4d0c-bdc6-82df9fa1f312/",
{
method: "PATCH",
headers: {
"X-Api-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
member_ids: ["7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71", "8ea770c7-d743-464a-9ede-788850dfa5e8"],
}),
},
);
const data = await response.json();{
"id": "8bcf2c8f-7bd0-4d0c-bdc6-82df9fa1f312",
"name": "Security response",
"description": "Can see vulnerability reports and security incidents.",
"logo_props": {},
"is_active": true,
"workspace_role_ids": ["2d9928ef-5023-492a-aa63-98d19b8c52ca"],
"project_role_ids": ["9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88"],
"member_ids": ["7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71", "8ea770c7-d743-464a-9ede-788850dfa5e8"],
"usage_count": 2,
"created_at": "2026-11-18T09:12:44.231907Z",
"updated_at": "2026-11-22T10:47:31.204519Z",
"created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"updated_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430"
}{
"type": "invalid_request",
"code": "invalid_request",
"detail": "One or more fields failed validation.",
"errors": [
{
"field": "member_ids",
"code": "invalid",
"message": "Not an active workspace member: 5b7e2f90-c3a1-4d6e-8f42-91d0a6c3e7b8"
}
]
}What an update records
Each change adds entries to the audience's activity feed:
- One
updatedentry for each ofname,description,logo_props, andis_activewhose value changed, withfield,old_value, andnew_valueset. - One
role_addedorrole_removedentry for each role that joined or left a list, and onemember_addedormember_removedentry for each user. The role or user id is innew_identifierfor an addition andold_identifierfor a removal.
Sending a value that matches the current one records nothing for that field.

