younifyd
Menu

List Standard User Roles

List Standard User Roles

GET/v2/permissions/standard-user-roles

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the List Standard User Roles action (under Permissions).
  3. Fill in the fields below, then reference the result from later steps as {{listStandardUserRoles.response.data}}.

Fields

baseUrlstring

The API host this action calls. Choose one, or pick Custom to enter your own.

One ofhttps://useast.api.elasticpath.comhttps://euwest.api.elasticpath.com__custom__Default "https://useast.api.elasticpath.com"

baseUrlCustomstring
forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{listStandardUserRoles.response.data.<field>}}.

dataarray<object>
idstring

The unique identifier for the Standard User Role.

typestring

Specifies the type of the resource object, use `standard_user_role` for Standard User Roles.

namestring

Specifies the name of the Standard User Role.

access_levelsobject24 fields

Specifies the access levels for each permission group.

linksobject1 fields
json
{
  "data": [
    {
      "id": "string",
      "type": "string",
      "name": "string",
      "access_levels": {
        "accounts": "none",
        "application_keys": "none",
        "authentication": "none",
        "catalog_releases": "none",
        "catalogs": "none",
        "composer": "none",
        "currencies": "none",
        "custom_apis": "none",
        "flows": "none",
        "legacy_catalogs": "none",
        "metrics": "none",
        "orders": "none"
      },
      "links": {
        "self": "string"
      }
    }
  ]
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.