Set a person's access to a project
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.
seylo_session<token>application/json- body
projectId*stringPanel-issued id.
^[a-z0-9]{16}$userId*stringPanel-issued id.
^[a-z0-9]{16}$actions*array<>1 <= items <= 200Success.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$userId*stringPanel-issued id.
^[a-z0-9]{16}$scopeType*string|stringscopeId*stringPanel-issued id.
^[a-z0-9]{16}$scopeName*stringprojectId*|nullactions*array<>createdBy*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/grants.setOnProject' \ -H 'Content-Type: application/json' \ -d '{ "projectId": "string", "userId": "string", "actions": [ "string" ]}'{ "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"}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.
Set a person's access to a service POST
Creates or replaces one member's grant on a single service with the given actions. Only actions you hold on the service yourself. Needs `grants.manage` on the service (a grant on its project covers it). Not available to MCP clients or the assistant.