Skip to Content
SeyloDocs

Remove a person's access to a service

POST
/api/v1/grants.removeFromService

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.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$
userId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
Example Request
curl -X POST 'https://example.com/api/v1/grants.removeFromService' \  -H 'Content-Type: application/json' \  -d '{  "serviceId": "string",  "userId": "string"}'
Example Response
{}