Set Role
self-hostedPUT/v2/administration/users/:userId/set-role/:role
Set's the global role on the Tolgee Platform server.
Request
Path Parameters
userId int64required
role stringrequired
Possible values: [USER
, ADMIN
]
Responses
- 200
- 400
- 401
- 403
- 404
OK
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...