/roles/{id}

Returns a Role object with the given id.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

include_remote_databooleanOptional

Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_databooleanOptional

Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

Response

idstring or nullRead-onlyformat: "uuid"
remote_idstring or null

The third-party API ID of the matching object.

created_atdatetime or nullRead-only
The datetime that this object was created by Merge.
modified_atdatetime or nullRead-only
The datetime that this object was modified by Merge.
namestring or null
The name of the Role.
ticket_actionslist of enums or null

The set of actions that a User with this Role can perform. Possible enum values include: VIEW, CREATE, EDIT, DELETE, CLOSE, and ASSIGN.

ticket_accessenum or null
The level of Ticket access that a User with this Role can perform. * `ALL` - ALL * `ASSIGNED_ONLY` - ASSIGNED_ONLY * `TEAM_ONLY` - TEAM_ONLY
Allowed values:
remote_was_deletedboolean or null
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
field_mappingsobject or nullRead-only
remote_datalist of objects or nullRead-only
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA92Y/2/aOBTA/xXOPyIgK6w3Fek0UdLSViXsCt3WVVX04jyCwYmDv0CPaf/7KSFQ2FXaiTOI3o+x7E/yPn5+tvOdUNAYCfkXaRLN6AQ1SyJSIbEIkZMmuRMcSYVAyjyIcbOTP6uTClEmTYXUGF4y5KG6kjgkTeLEKCOsmoQNGYbOeozDEo2RBM1Eopz12OowH0wqhLNkgmGLUmES/UvasncVlt1/elQOZ0qTCklBKT2SwkSjO5waVL8GZ1/GMcZEA6+GoMHZgFTlkvJaWxZDiBw1hi5ocFEjzYItXjjSOlVNxxkhT2v5y2shzhxMHJCaUY7KOW2c1T+cnVYLSv72j37E/zgpj6eBCD6U/YhyH0y5O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