8.4.21
Fields: Roles

See the associated 4.24 Roles resource section for more information on how to use this resource and supported operations.
Additional References
Type | Value | Additional Information |
---|---|---|
Permissions resource | roles | Permissions |
Hooks filename | roles.groovy | Pre- and Post-Processing Hooks |
Distinct query-supported | Yes | Distinct |

A role defines a set of permissions that are based on the proxy-user. If no proxy user is specified then access to objects in MWS are limited to its application permissions. For example if the application has permission to update all resources in MWS and no proxy-user is specified in the request then the request can access all resources in MWS.
Field Name | Type | POST | PUT | Description |
---|---|---|---|---|
id | String | No | No |
The unique ID of this role. |
description | String | Yes | Yes |
The role description. |
name | String | Yes | Yes |
The unique human-readable name of this role. Required during POST. |
permissions | List<Permission> | Yes | Yes |
The set of permissions enforced based on the proxy-user. |
Represents a permission.

A role defines a set of permissions that are based on the proxy-user. If no proxy user is specified then access to objects in MWS are limited to its application permissions. For example if the application has permission to update all resources in MWS and no proxy-user is specified in the request then the request can access all resources in MWS.
Field Name | Type | POST | PUT | Description |
---|---|---|---|---|
id | String | No | No |
The unique ID of this role. |
description | String | Yes | Yes |
The role description. |
name | String | Yes | Yes |
The unique human-readable name of this role. Required during POST. |
permissions | List<Permission> | Yes | Yes |
The set of permissions enforced based on the proxy-user. |
Represents a permission.
Related Topics