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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.
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>"
}
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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.
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>"
}