Chats
Update member chat subject and/or color.
AuthorizationBearer <token>
OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.
In: header
Scope: chat:write
Path Parameters
chatId*string
Match
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/chats/member/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643", "scopeType": "project", "scope": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "logo": "3c06f846-1ab1-40a9-8645-a19a9fdeae85" }, "subject": "string", "icon": "bc9b3dc5-578a-4929-a13c-7d1a9725e2b0", "members": [ "15b1f20b-98d8-4c50-b89a-13711baf259b" ], "participants": [ "e3139958-26f5-4fd4-a9c9-fe1c29c5cbac" ], "totalMessages": 0, "recentMessages": [ "6738c803-41a8-4296-a5bd-8d9974ec6fa0" ], "status": "active", "createdBefore": 0, "createdAt": 1678886400000, "updatedAt": 1678886400000}