Renames a session and/or sets its image. imageAssetId must be a completed image or video asset in the team (a video shows its thumbnail); the chosen image stays until removeImage clears it, after which the image follows the newest generation again. Nothing is written if any field is invalid. Free.
Authorization
bearerAuth processes:writeIn: header
Scope: processes:write
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= propertiesResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/sessions/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "title": "string", "imageUrl": "http://example.com", "imageAssetId": "string", "generations": { "inProgress": 0, "completed": 0 }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "webUrl": "http://example.com", "links": { "self": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}Change who can access a project PATCH
Requires sharing:write, full workspace membership, and the project role required by the change. Supply at least one change and at most 50 distinct member IDs. Removing an explicit role can leave effective access through the workspace.
Change a webhook endpoint PATCH
enabled: false stops deliveries and gives up on pending ones; enabled: true turns a disabled endpoint back on and clears its disabledReason. Catch up on what it missed with GET /events.