Elimina adjuntos a una solicitud existente
TIPO: DELETE
URL: https://HOST_MODELA/public/external/request/attachment
Para su uso necesitamos un token del tipo Consulta petición.
Ejemplo de una llamada, donde {REPLACE_INSTANCE_GENERATED_TOKEN} debe ser el valor del token:
curl --location 'https://demo.getmodela.com/public/external/request/attachment' \
--header 'token: {REPLACE_INSTANCE_GENERATED_TOKEN}'
--header 'Company-Id: {REPLACE_COMPANY_ID}'
JSON de ejemplo con el body a enviar
{
"requestCode": "T1-6",
"objectIdUserUpdate": "OBJECT_ID_USUARIO",
"attachments": [
{
"idInternal": "att1",
"id": "GUID_ADJUNTO_1"
},
{
"idInternal": "att2",
"id": "GUID_ADJUNTO_2"
}
]
}