OpenAPI 3.0.3raw.githubusercontent.com2026-08-19195545865.7 KB

b86c9656c28f

product:chat

Update permission

Updates custom permission

put/permissions/{id}

Path parameters

idstring required

Unique permission ID

Request body

actionstring required

Action name this permission is for (e.g. SendMessage)

conditionobject

MongoDB style condition which decides whether or not the permission is granted

descriptionstring

Description of the permission

namestring required

Name of the permission

ownerboolean

Whether this permission applies to resource owner or not

same_teamboolean

Whether this permission applies to teammates (multi-tenancy mode only)

Response

Response

durationstring required

Duration of the request in milliseconds