API referenceSharing
List who has access to a service
GET
Lists the grants on a service and the project grants that also cover it (inherited is true for those).
Needs grants.view on the service (a grant on its project covers it). Available to MCP clients and the assistant.
cookie
seylo_session<token>serviceId*stringPanel-issued id.
Match
^[a-z0-9]{16}$Success.
application/json- response
grants*array<>curl -X GET 'https://example.com/api/v1/grants.listByService?serviceId=string'Example Response
{ "grants": [ { "grant": { "id": "string", "userId": "string", "scopeType": "project", "scopeId": "string", "scopeName": "string", "projectId": "string", "actions": [ "string" ], "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "user": { "id": "string", "email": "string", "name": "string" }, "inherited": true } ]}List who has access to a project GET
Lists the grants on a project and on each of its services, with the person each belongs to. Owners and admins are not listed; they always have access. Needs `grants.view` on the project. Available to MCP clients and the assistant.
List a person's grants GET
Lists every grant one person holds, with project and service names. Needs `users.view`, which owners and admins hold. Available to MCP clients and the assistant.