PUT api/organizations/{organizationId}/users/{userId}/roles

Request Information

URI Parameters

NameDescriptionTypeAdditional information
organizationId

globally unique identifier

Required

userId

globally unique identifier

Required

Body Parameters

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "5ce3323f-0f96-4fd1-b79e-88dc9ec9e1df",
  "409af9ae-cbda-4ddd-b5f9-8db24e032860"
]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>5ce3323f-0f96-4fd1-b79e-88dc9ec9e1df</guid>
  <guid>409af9ae-cbda-4ddd-b5f9-8db24e032860</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.