API referenceSharing
Remove a person's access to a service
POST
Deletes one member's grant on a single service. A grant on the whole project still covers it.
Needs grants.manage on the service (a grant on its project covers it). Not available to MCP clients or the assistant.
cookie
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
Match
^[a-z0-9]{16}$userId*stringPanel-issued id.
Match
^[a-z0-9]{16}$Success.
application/json- response
curl -X POST 'https://example.com/api/v1/grants.removeFromService' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "userId": "string"}'Example Response
{}Remove a person's access to a project POST
Deletes one member's grant on a project. Their grants on single services in it stay. Needs `grants.manage` on the project. Not available to MCP clients or the assistant.
Set a person's access to a project POST
Creates or replaces one member's grant on a project with the given actions (it covers the project's services). Only actions you hold on the project yourself. Needs `grants.manage` on the project. Not available to MCP clients or the assistant.