The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /unassignroles HTTP/1.1
Host: 54.235.149.200
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
UserName: String,
Permissions:
[
String
],
Roles:
[
String
],
Meta:
{
String: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
AllRoles:
[
String
],
AllPermissions:
[
String
],
Meta:
{
String: String
},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}