OpenAPI リファレンス
Permissions
Node and workspace permission management.
Path Parameters
nodeId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/nodes/string/visibility" \ -H "Content-Type: application/json" \ -d '{ "visibility": "private" }'{ "updated": true}curl -X GET "https://example.com/api/v1/nodes/string/principals"[ { "id": "string", "nodeId": "string", "principalType": "user", "principalId": "string", "role": "read", "grantedBy": "string", "createdAt": "string", "updatedAt": "string" }]Path Parameters
nodeId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/nodes/string/principals" \ -H "Content-Type: application/json" \ -d '{ "principalType": "user", "principalId": "string", "role": "read" }'{ "granted": true}Path Parameters
nodeId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X DELETE "https://example.com/api/v1/nodes/string/principals" \ -H "Content-Type: application/json" \ -d '{ "principalType": "user", "principalId": "string" }'{ "removed": true}