List Built-in Roles
GET/v2/permissions/built-in-roles
Retrieves a list of Built-in Roles
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data BuiltInRoleAttributes[]
id uuid
The unique identifier for the Built-in Role.
type string
Specifies the type of the resource object, use built_in_role
for Built-in Roles.
name string
Specifies the name of the Built-in Role.
cm_user_assignable boolean
Specifies if the Built-in Role can be assigned to a user in Commerce Manager.
links object
self uri
Specifies the URI of the Built-In Role.
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"name": "string",
"cm_user_assignable": true,
"links": {
"self": "/v2/permissions/built-in-roles/f5f77dd6-71df-48a4-b4f4-d2605a79f3ca"
}
}
]
}
Bad request. The request failed validation.
- application/json
- Schema
- Example (from schema)
- missing-name
Schema
- Array [
- ]
errors Error[]required
title stringrequired
A brief summary of the error.
status stringrequired
The HTTP response code of the error.
detail string
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Required field missing
{
"errors": [
{
"detail": "Invalid filter: unknown field [version] specified in search filter, allowed fields are [api_type created_at description id name slug updated_at]",
"status": "400",
"title": "Bad Request"
}
]
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
- Array [
- ]
errors Error[]required
title stringrequired
A brief summary of the error.
status stringrequired
The HTTP response code of the error.
detail string
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Internal server error
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}
Loading...