POST
/
apps
curl --request POST \
  --url https://api.contas.rdstationmentoria.com.br/rest/apps \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "color": "#ff5722",
  "redirectUris": [],
  "roles": [],
  "internal": true
}'
{
  "id": "<string>",
  "name": "<string>",
  "color": "#ff5722",
  "redirectUris": [],
  "roles": [],
  "internal": true,
  "secret": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.

POST
/
apps
curl --request POST \
  --url https://api.contas.rdstationmentoria.com.br/rest/apps \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "color": "#ff5722",
  "redirectUris": [],
  "roles": [],
  "internal": true
}'
{
  "id": "<string>",
  "name": "<string>",
  "color": "#ff5722",
  "redirectUris": [],
  "roles": [],
  "internal": true,
  "secret": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.