Skip to main content
POST
/
api
/
app
/
{app_id}
/
roles
Create an App Role
curl --request POST \
  --url https://api.example.com/api/app/{app_id}/roles \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "role_name": "<string>",
  "created_date": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

app_id
string<uuid>
required

Query Parameters

role_name
string
required

Response

App role created successfully

Response model for app role details.

id
string<uuid>
required

Unique ID of the app role.

app_id
string<uuid>
required

ID of the app.

role_name
string
required

Name of the role.

created_date
any
required

Timestamp when the role was created.