Skip to main content

roles

Overview

Nameroles
TypeResource
Iddatadog.roles.roles

Fields

NameDatatypeDescription
idstringThe unique identifier of the role.
attributesobjectAttributes of the role.
relationshipsobjectRelationships of the role object returned by the API.
typestringRoles type.

Methods

NameAccessible byRequired ParamsDescription
get_roleSELECTrole_id, dd_siteGet a role in the organization specified by the role’s role_id.
list_rolesSELECTdd_siteReturns all roles, including their names and their unique identifiers.
create_roleINSERTdata__data, dd_siteCreate a new role for your organization.
delete_roleDELETErole_id, dd_siteDisables a role.
_get_roleEXECrole_id, dd_siteGet a role in the organization specified by the role’s role_id.
_list_rolesEXECdd_siteReturns all roles, including their names and their unique identifiers.
clone_roleEXECrole_id, data__data, dd_siteClone an existing role
update_roleEXECrole_id, data__data, dd_siteEdit a role. Can only be used with application keys belonging to administrators.