Stop sharing it
DELETE
Stops sharing a Room, folder, Room file, task or goal with someone. Needs Full access on the Room (a task or goal: also whoever made it). Requires explicit user intent.
header
AuthorizationBearer <token>A signed-in SMB user's access token. Workspace-scoped operations also require SMB-Workspace-Id.
SMB-Workspace-Id*stringWorkspace where this operation runs. Required for user tokens and Workspace API keys.
Format
uuidIdempotency-Key*stringLength
8 <= length <= 200application/json- body
object_type*ObjectTypeWhat to share: a Room, a folder, a Room file, a File, a task or a goal.
Value in
"room""room_folder""room_file""file""task""goal"object_id*stringIts ID: rom_, rfd_, rfl_, fil_, tsk_ or gol_.
Length
1 <= length <= 40to*|||Who: a person by email or account, a Workspace you are in, or (tasks and goals) everyone in their Room.
Successful authorized response.
application/json- response
removed*booleanrequest_id*stringcurl -X DELETE 'https://example.com/v1/access' \ -H 'SMB-Workspace-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Idempotency-Key: stringst' \ -H 'Content-Type: application/json' \ -d '{ "object_type": "room", "object_id": "string", "to": { "type": "person", "email": "user@example.com" }}'{ "removed": true, "request_id": "string"}