POST/spaces/api/v1/spaces/{spaceID}/pages/{pageID}/shares/scopes.json
add one or many sharing scopes to a page
Request Examples
Example Request
POST
/spaces/api/v1/spaces/{spaceID}/pages/{pageID}/shares/scopes.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/tags.json
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
Scope defines a single access level.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
201 Created
Scope
{
"createdAt": "2025-02-11T11:36:38.358Z",
"createdBy": {
"id": 0,
"meta": {},
"type": "string"
},
"deletedAt": "2025-02-11T11:36:38.358Z",
"deletedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"id": 0,
"name": "string",
"role": "read",
"scopeType": "anyone",
"sharingURL": "string",
"state": "enabled",
"token": "string",
"updatedAt": "2025-02-11T11:36:38.358Z",
"updatedBy": {
"id": 0,
"meta": {},
"type": "string"
}
}