Skip to main content

Get a Built-in Role

GET 

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

Get a Built-in Role

Request

Path Parameters

    built_in_role_id stringrequired

    The ID of the Built-In Role.

    Example: f5f77dd6-71df-48a4-b4f4-d2605a79f3ca

Responses

OK

Schema
    data object
    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/:built_in_role_id");
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
Parameters
— pathrequired
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.