Skip to main content
PATCH
Set a user's access and visibility

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

toolServerId
string
required

Id of the MCP Gateway tool server

userUID
string
required

Devic user id

Body

application/json
allowed
boolean
profileId
string | null

Profile to assign, or null to clear it

userHiddenToolNames
string[]

Response

Access row saved

What one user is allowed to reach on a gateway.

_id
string
toolServerId
string
userUID
string
allowed
boolean

Whether the user can use the gateway at all

profileId
string | null

Visibility profile assigned to the user

userHiddenToolNames
string[]

Extra tools hidden for this user, on top of the profile

creationTimestampMs
integer<int64>
lastEditTimestampMs
integer<int64>