-
Notifications
You must be signed in to change notification settings - Fork 9
Role URI Service
Ken Williamson edited this page Jan 19, 2020
·
1 revision
Method: POST
URL: http://localhost:3000/rs/clientRoleUri/add
Request headers Example:
Content-Type = application/json
Authorization = bearer jwttokenFromGoAuth2
clientId = 10
userId = tester (when using Auth code, Implicit, or Password tokens)
Request Body Example:
{
"clientRoleId":24,
"clientAllowedUriId":167
}
Response:
{
"success": true
}
Method: GET
URL: http://localhost:3000/rs/clientRoleUri/list/128
128 = clientRoleId
Request headers Example:
Authorization = bearer jwttokenFromGoAuth2
clientId = 10
userId = tester (when using Auth code, Implicit, or Password tokens)
Response:
[
{
"clientRoleId": 128,
"clientAllowedUriId": 1474
},
{
"clientRoleId": 128,
"clientAllowedUriId": 1475
},
{
"clientRoleId": 128,
"clientAllowedUriId": 1477
},
{
"clientRoleId": 128,
"clientAllowedUriId": 1478
}
]
Method: DELETE
URL: http://localhost:3000/rs/clientRoleUri/delete/128/1478
128 = clientRoleId
1478 = clientAllowedUriId
Request headers Example:
Authorization = bearer jwttokenFromGoAuth2
clientId = 10
userId = tester (when using Auth code, Implicit, or Password tokens)
Response:
{
"success": true
}
GoAuth2 is maintained by Ulbora Labs LLC and others.