Skip to main content

Create platform role

Creates a platform wide role. It can be used to grant permissions to all the resources in a Frontier instance.

Request Body required
    name string
    permissions string[]
    metadata object
    title string
Responses

A successful response.


Schema
    role object
    id string
    name string
    permissions string[]
    title string
    metadata object
    createdAt date-time

    The time the role was created.

    updatedAt date-time

    The time the role was last updated.

    orgId string
    state string
POST /v1beta1/roles

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
Body required
{
"name": "string",
"permissions": [
"string"
],
"metadata": {},
"title": "string"
}
curl / cURL
curl -L -X POST 'http://127.0.0.1:7400/v1beta1/roles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"permissions": [
"string"
],
"metadata": {},
"title": "string"
}'