Roles

Assign roles

Assigns the specified roles to a user. This will replace any existing role assignments for the user.

post/roles/assign

Request

  • Base URL
    https://open-api.guesty.com/v1
  • URL
    https://open-api.guesty.com/v1/roles/assign
  • Auth
    API key in header authorization

Request body

userIdstring required
rolesnumber[] required

Response

Roles successfully assigned

Changes

No recorded changes to this operation across all 2 revisions of this API.