Apps
Change the role of a user
Sets one of the app's roles. The app sees the new role in x-hypamoon-user within seconds.
patch/apps/{id}/users/{userId}
Request
- Base URL: https://api.hypamoon.com/api/v1
- URL: https://api.hypamoon.com/api/v1/apps/{id}/users/{userId}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: sites:write)
Path parameters
idstring uuid required
The id of the app.
userIdstring uuid required
The id of the user (sub in x-hypamoon-user).
Request body
Response
The user with the new role.
Changes
No recorded changes to this operation across all 1 revision of this API.