POST/spaces/api/v1/spaces/{spaceID}/access.json
Create the requested access request
Request Examples
Example Request
POST
/spaces/api/v1/spaces/{spaceID}/access.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/account.json
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
200 OK
Access
{
"access": {
"LinkedInstallation": {
"installation": {
"id": 0,
"meta": {},
"type": "string"
}
},
"access": {
"details": "string",
"id": 0,
"level": "read",
"state": "active"
},
"createdAt": "2025-02-11T11:36:38.445Z",
"createdBy": {
"id": 0,
"meta": {},
"type": "string"
},
"deletedAt": "2025-02-11T11:36:38.445Z",
"deletedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"space": {
"id": 0,
"meta": {},
"type": "string"
},
"updatedAt": "2025-02-11T11:36:38.445Z",
"updatedBy": {
"id": 0,
"meta": {},
"type": "string"
}
}
}