• Document Up to Date

Get User Roles

Get user roles for site.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /studio, please prefix the API URLs with this context.

HTTP Verb
GET
URL
/api/1/services/api/1/security/get-user-roles.json
Response Formats
JSON
Required Role

Parameters

Name
Type
Required
Description
site_id
String

Site to use

Example

GET .../api/1/services/api/1/security/get-user-roles.json?site_id=mysite
1{
2    "roles":
3        [
4            "admin"
5        ]
6}

Response

Status
Location
Response Body
200

See example above.