DeleteFiles

Exclui um ou mais arquivos permanentemente.

Payload de entrada
{ "deleteFileInput": [ { "domainName": "string", "serviceName": "string", "targetObject": "string", "areaSecret": "string", "fileName": "string", "styles": ["string"], "failIfNotExists": boolean } ] }
Request
curl --location --request POST "https://api.senior.com.br/platform/blob_service/deleteFiles" --header "Content-Type: application/json" --header "client_id: {client_id}" --header "Accept: application/json" --header "Authorization: Bearer {token}" --data-raw "{ 'deleteFileInput ': [ { 'domainName ': 'string ', 'serviceName ': 'string ', 'targetObject ': 'string ', 'areaSecret ': 'string ', 'fileName ': 'string ', 'styles ': [ 'string ' ], 'failIfNotExists ': boolean } ]}"
Response

200 Ok

{ "success": true }

403 Permissão negada

401 Unauthorized

{ "error_description": "The access token is invalid or has expired", "error": "invalid_token" }