Skip to main content

List Built-in Roles

GET 

https://useast.api.elasticpath.com/v2/permissions/built-in-roles

Retrieves a list of Built-in Roles

Responses

OK

Schema
    data BuiltInRoleAttributes[]
  • Array [
  • iduuid

    The unique identifier for the Built-in Role.

    typestring

    Specifies the type of the resource object, use built_in_role for Built-in Roles.

    namestring

    Specifies the name of the Built-in Role.

    cm_user_assignableboolean

    Specifies if the Built-in Role can be assigned to a user in Commerce Manager.

    links object
    selfuri

    Specifies the URI of the Built-In Role.

    Example: /v2/permissions/built-in-roles/f5f77dd6-71df-48a4-b4f4-d2605a79f3ca
  • ]

Authorization: http

name: bearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://useast.api.elasticpath.com/v2/permissions/built-in-roles");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
ResponseClear

Click the Send API Request button above and see the response here!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.