Retrieve role resource

This operation returns an object containing information about the associated privileges for the specified client and role.

NOTE: Global roles are not assigned to a specific client. Specify ''0'' as the client ID to retrieve only global roles. Specify a client ID to retrieve custom roles assigned to that client as well as global roles.

Path Params
int32
required

Client id.

int32
required

Role resource.

Query Params
string
enum
Defaults to xml

Format of results.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

BadRequestResponse indicates a request with invalid parameters.

401

UnauthorizedResponse signals an unauthorized API access.

403

ForbiddenResponse signals a request for a resource that does not exist or is not authorized.

404

NotFound the requested resource could not be found.

500

GenericError generic error.

Language
Response
Choose an example:
application/json
application/xml