--- id: create-role sidebar_label: Create a Role hide_title: true hide_table_of_contents: true api: eJztPWtz4sayf2WK+yGJCzBg/MBVqXtZYL2csMYHcLZyvS6fQRqwskLiaCR7yZb/++3umdET29jZm2xyVFu1Bmke3T39mp7u4UvFX4uAh47vDe3KacUKBA/FxHdFpVoJ+VJWTq8q+FVWrqsVW0grcNbYGtrObh3JuhdDpjpJxlkALesfvV/8iK0iGbJbfifgceh/Eh67d8JbbF9l48nZTbf/fnheZZPxaGA++4H6Or18Q08Yj8JbP3DCDYzALO66LNRz1tlHb+gxbtsOQlOFSbJdV3zDPD/UsGnQmONZbmQ73pJx6GxZQkq2DvyFg+8WMDoPC48BLyl9y4FhbIUDZ9KPAktAe5GbFlrjrPke0HAlhXsnJAI+g24r/tlZRSsmo/XaD7ChK7wlNF0AFXDcFK3ZwhGujWO3Go0Gs255wK1QBDDYyPeWIkg3ljAjEGouAAMhRXAHQ+OY4rMjQ8QcCQE93/n34k4EQDkPKCXu1XOAnN0L6A9/8UW0tmlpgf7xAFsnc52Vg1hAwzyQwEmB+HckZPjGtzeV0y/01QkEMFwYRKJasXwvFF6Ir/h67ToWMeT+rxL57EtFWkA+jp/CzVoA5/nzX4UVVvIM2WWacWHtgKtDB7gWOjl2qqsMA8Ch0BWXxLGZv1BrimzMiL8V6YmZEUuxCJkXAcr3t8DRxFyam7APsDB0D+4diRzXBjK84TabKOSZCAJYByIYrEzkhkgZ8Zmv1i5C1rI6zZPGydFxu2Mfn5wcNJrHbd7k7YZotpqHzZPKQ7Xi8ZXYDZnbaMW9GsBn8zlwse3ItYsiAQOksYS+wIkjYr3KabN1koYIG7DW4dExTq0EaQdS9lHezPjsHhjJdK1WgBFXHNa5glxVC52VyJKg0WrWGge1RnPWap0etE4PT+rNRvt/iYO4PfbcjWIZgGfl2w4szqsAcjkshxmg/gK4WrNW4xRAaz0OV2buImjIPLgihvXzHJxft5QWyC5bAt1l4HEG6wrKLgpkBKoLBBjESUjgO+Y50gXNajla5QD2fiBW6rmI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7jukYflawA2WGJwHZ5z70D2wFkgYli+5wlDC7rQiMW9jEuOfiOiQKWlePn8eKGNVMqLe2YucOKkPm4G0lMVrFIFCSIT4RLjY7tsDO65scF1rN0Kd023dABYnhSpGd4PZ4URYTBPKda6Hyz3dSe5j21hEIx1KvY5qDfrjRrF/vDmO1+GK+6lBu/RquvfBcgz35fkeF3F7nBLpW7gwLvMMLgKm6BfYJGpCFUl0+pNHC0ItK+y8eTsptt/PzyvMry+x3yGHRV9nV6+oScmcwMYAdcVt5ehnhP3eEMvPsrCU6JsVzy9wKtILIMN3baS+jkQz4S+1tpPotQC9FJzj2W6+JJw4EwRWl1GkZlWX4CS7wENV1K4d3jx1UcPDyHMPVrJLUAu/RhafAiW/gWu+HKVVqPRSH7LAQYbqUtMUo31dSVzoX7yIrgT6uyf7hdBzCkAXmfv/HtBBZOYwOKJe/Uc61HvwdtXl41sWLS21c8s+MkAWyfTiS3YMA9k4rFiqHZ/jQeVyHqRCh2rwPxVRQXmwRu8xYA9PPjyBQ+vMFL9gI/BduDJyNV1EoTGbzCQOsQiK0D+SEVnTdT0fUj6lKSYDoKxcdVDHYw92TZ9poC/8QSNsc6QsmXUuUvA7+Eh/n9a+Qj/cOugyISN6PmXijnFhDZqXBMa2hYZ0R8QzYeH/wPDQ93/ sidebar_class_name: "post api-method" info_path: docs/api/beta/identitynow-beta-api custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a Role' (create-role)" --- import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; import SchemaItem from "@theme/SchemaItem"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem";

Create a Role

This API creates a role. You must have a token with API, ORG_ADMIN, ROLE_ADMIN, or ROLE_SUBADMIN authority to call this API. In addition, a ROLE_SUBADMIN may not create a role including an access profile if that access profile is associated with a source the ROLE_SUBADMIN is not associated with themselves. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing roles. However, any new roles as well as any updates to existing descriptions will be limited to 2000 characters. ## Request

Body

required
    owner objectrequired
    The owner of this object.
    accessProfiles object[]nullable
  • Array [
  • ]
  • entitlements object[]
  • Array [
  • ]
  • membership objectnullable
    When present, specifies that the Role is to be granted to Identities which either satisfy specific criteria or which are members of a given list of Identities.
    criteria objectnullable
    Defines STANDARD type Role membership
    key objectnullable
    Refers to a specific Identity attribute, Account attibute, or Entitlement used in Role membership criteria
    children object[]nullable
    Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa.
  • Array [
  • key objectnullable
    Refers to a specific Identity attribute, Account attibute, or Entitlement used in Role membership criteria
    children object[]nullable
    Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa.
  • Array [
  • key objectnullable
    Refers to a specific Identity attribute, Account attibute, or Entitlement used in Role membership criteria
  • ]
  • ]
  • identities object[]nullable
    Defines role membership as being exclusive to the specified Identities, when type is IDENTITY_LIST.
  • Array [
  • ]
  • legacyMembershipInfo objectnullable
    This field is not directly modifiable and is generally expected to be *null*. In very rare instances, some Roles may have been created using membership selection criteria that are no longer fully supported. While these Roles will still work, they should be migrated to STANDARD or IDENTITY_LIST selection criteria. This field exists for informational purposes as an aid to such migration.
    accessRequestConfig objectnullable
    Access request configuration for this object
    approvalSchemes object[]
    List describing the steps in approving the request
  • Array [
  • ]
  • revocationRequestConfig objectnullable
    Revocation request configuration for this object.
    approvalSchemes object[]
    List describing the steps in approving the revocation request
  • Array [
  • ]
Role created
Schema
    owner objectrequired
    The owner of this object.
    accessProfiles object[]nullable
  • Array [
  • ]
  • entitlements object[]
  • Array [
  • ]
  • membership objectnullable
    When present, specifies that the Role is to be granted to Identities which either satisfy specific criteria or which are members of a given list of Identities.
    criteria objectnullable
    Defines STANDARD type Role membership
    key objectnullable
    Refers to a specific Identity attribute, Account attibute, or Entitlement used in Role membership criteria
    children object[]nullable
    Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa.
  • Array [
  • key objectnullable
    Refers to a specific Identity attribute, Account attibute, or Entitlement used in Role membership criteria
    children object[]nullable
    Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa.
  • Array [
  • key objectnullable
    Refers to a specific Identity attribute, Account attibute, or Entitlement used in Role membership criteria
  • ]
  • ]
  • identities object[]nullable
    Defines role membership as being exclusive to the specified Identities, when type is IDENTITY_LIST.
  • Array [
  • ]
  • legacyMembershipInfo objectnullable
    This field is not directly modifiable and is generally expected to be *null*. In very rare instances, some Roles may have been created using membership selection criteria that are no longer fully supported. While these Roles will still work, they should be migrated to STANDARD or IDENTITY_LIST selection criteria. This field exists for informational purposes as an aid to such migration.
    accessRequestConfig objectnullable
    Access request configuration for this object
    approvalSchemes object[]
    List describing the steps in approving the request
  • Array [
  • ]
  • revocationRequestConfig objectnullable
    Revocation request configuration for this object.
    approvalSchemes object[]
    List describing the steps in approving the revocation request
  • Array [
  • ]
Client Error - Returned if the request body is invalid.
Schema
    messages object[]
    Generic localized reason for error
  • Array [
  • ]
  • causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
  • Array [
  • ]
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
Schema
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Schema
    messages object[]
    Generic localized reason for error
  • Array [
  • ]
  • causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
  • Array [
  • ]

An example of a 403 response object

Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
Schema
Internal Server Error - Returned if there is an unexpected error.
Schema
    messages object[]
    Generic localized reason for error
  • Array [
  • ]
  • causes object[]
    Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
  • Array [
  • ]

An example of a 500 response object