orchestrator
2023.4
false
- Introdução
- Autenticação
- Definição do Swagger
- APIs do Orchestrator
- Solicitações de alertas
- Solicitações de ativos
- Solicitações de calendários
- Solicitações de ambientes
- Solicitações de pastas
- Solicitações de tarefas genéricas
- Solicitações de trabalhos
- Solicitações de bibliotecas
- Solicitações de licenças
- Solicitações de pacotes
- Solicitações de permissões
- Solicitações de espaços de trabalho pessoais
- Solicitações de processos
- Solicitações de itens de fila
- Solicitações da política de retenção de filas
- Solicitações de robôs
- Solicitações de funções
- Solicitações de agendamentos
- Solicitações de configurações
- Solicitações de bucket de armazenamento
- Solicitações de tarefas
- Solicitações de catálogos de tarefas
- Solicitações de formulários de tarefas
- Solicitações de tenants
- Solicitações de Transações
- Solicitações de usuários
- Solicitações de webhooks
- APIs de gestão de plataforma
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo.
A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Orchestrator API guide
Última atualização 13 de fev de 2025
Queue retention policy requests
linkDelete the retention policy of the specified queue
linkThe following DELETE request to the
/odata/QueueRetention({key})
endpoint allows you to reset the existing retention policy of the specified queue to the default built-in policy.
Note: By calling the DELETE endpoint for queues that have the default migration policy in place (that is, 120 days + deletion),
it replaces it with the built-in retention policy of 30 days +deletion.
API endpoint
DELETE
https://{yourDomain}/odata/QueueRetention({key})
Request Headers
--header 'Authorization: Bearer {access_token}'\)\)
--header 'Content-Type: application/json' \)\)
--header 'X-UIPATH-OrganizationUnitId: {the_ID_of_the_folder_that_contains_the_queue}' \)
--header 'Authorization: Bearer {access_token}'\)\)
--header 'Content-Type: application/json' \)\)
--header 'X-UIPATH-OrganizationUnitId: {the_ID_of_the_folder_that_contains_the_queue}' \)
Path parameters
Param |
Data type |
Description |
---|---|---|
(required) |
Int64 |
The ID of the queue for which you want to reset the retention policy to default. |
Responses
link204 Success
Resets the indicated queue policy to the default one of 30-day retention + deletion.
Example request
Let's say you gathered all the information needed to build the API call.
- The
{key}
is:6789
. This is the ID of the queue for which you want to reset the specific retention policy to default. -
The
X-UIPATH-OrganizationUnitId
request header value is202020
. This is the ID of the folder that contains the queue for which you want to reset the custom retention policy to default. Learn how to identify the folder ID.curl --location --request DELETE 'https://{yourDomain}/odata/QueueRetention(6789)' \ --header 'Authorization: Bearer 1234' \ --header 'Content-Type: application/json' \ --header 'X-UIPATH-OrganizationUnitId: 202020'
curl --location --request DELETE 'https://{yourDomain}/odata/QueueRetention(6789)' \ --header 'Authorization: Bearer 1234' \ --header 'Content-Type: application/json' \ --header 'X-UIPATH-OrganizationUnitId: 202020'A successful call (response code 204) resets the custom policy to the default one.
In the Orchestrator UI, the change is also visible in the Audit details of the corresponding queue Update feature action.