AuralisDocs
OperationsWorkspace administration

Restore a member's MCP access in this workspace

Undo a revocation, so this member can use MCP here again.

/v1/workspace/members/{user_id}/mcp-access/restoreAdmin
Operation id
restore_mcp_access
Access
An editor or a viewer is refused.
POST/v1/workspace/members/{user_id}/mcp-access/restore

Undo a revocation, so this member can use MCP here again.

Effective on their next call. Restoring someone who was never revoked is a success, with already: true, so this is safe to retry. An unknown member is 404.

revoked in the response is the state afterwards, so a successful restore reports false.

Tenancy: the request is scoped to one workspace, and the credential presented is what selects it. A caller with no membership in that workspace is refused with 404, which is indistinguishable from a workspace that does not exist.

Authorisation: admin or owner. An editor or viewer receives 403 insufficient_role.

Access: Authorization: Bearer carrying either a realm access token or an API key. A key must hold the workspace-admin:write scope, and the workspace role of the person who owns it must meet the floor above.

Authorization

AuthorizationBearer <token>

A realm-issued access token, presented as Authorization: Bearer <token>. It acts as the person who signed in, and every operation resolves their workspace role live from the membership record.

In: header

Path Parameters

user_id*User Id
Formatuuid

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/workspace/members/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp-access/restore"
{}