Change a person's role
Makes someone an owner, admin or member. Owners and admins can do everything; members keep their grants and can only do what those allow. Only owners touch owner roles. A promotion (to admin, or to owner) from a browser session needs a sign-in or auth.reauth from the last 15 minutes (FORBIDDEN details.reason "reauth" otherwise); API keys need none.
Needs users.manage, which owners and admins hold. Not available to MCP clients or the assistant.
seylo_session<token>application/json- body
userId*stringPanel-issued id.
^[a-z0-9]{16}$role*||owner and admin may do everything; members only what their grants allow.
Success.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$email*stringemaillength <= 254name*stringrole*||owner and admin may do everything; members only what their grants allow.
status*string|stringtwoFactor*booleanpasskeyCount*integer0 <= valuegithubLogin*string|nullgrantCount*integer0 <= valuelastLoginAt*|nullcreatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/users.updateRole' \ -H 'Content-Type: application/json' \ -d '{ "userId": "string", "role": "owner"}'{ "id": "string", "email": "[email protected]", "name": "string", "role": "owner", "status": "active", "twoFactor": true, "passkeyCount": 0, "githubLogin": "string", "grantCount": 0, "lastLoginAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}Change a person's name or email POST
Changes another account's display name or email. CONFLICT when the email is taken. Needs `users.manage`, which owners and admins hold. Not available to MCP clients or the assistant.
Delete a PR preview POST
Deletes a PR preview's service with its containers and volumes. The next push to the PR creates it again while previews are on. Needs `services.update` on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.