Deleta recursos juntamente com suas ações.
Somente é possível remover recursos customizados
Payload de entrada
{
//Identificadores dos recursos
resources: [ "string" ]
}
Request
curl --location --request POST "https://api.senior.com.br/platform/authorization/deleteResources" --header "Content-Type: application/json" --header "client_id: {client_id}" --header "Accept: application/json" --header "Authorization: Bearer {token}" --data-raw "{ 'resources': [ '{string}' ] }"
Response
{}
{
"message": "resources is required, at least one value must be present",
"errorCode": "validation",
"reason": "BAD_REQUEST",
"domain": "platform",
"service": "authorization"
}