Cancelamento de autorização
1 min
Criar solicitação autorização
Get a cake by its ID
POST
https://gyra-core.gyramais.com.br/onboarding/optin/revoke
Header Parameters
- authorizationstringrequiredDescription
Body Parameters
- documentstringrequiredDescription
curl
curl --request POST \
--url https://gyra-core.gyramais.com.br/onboarding/optin/revoke \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NmI2MmY4OTQyOWU4NjgzZTEyNDBiMGYiLCJzZXNzaW9uSWQiOiI2N2FmNWIzMzJjYzQyM2VkM2IyMWY1NzkiLCJpYXQiOjE3Mzk1NDUzOTUsImV4cCI6MTczOTYzMTc5NX0.OuHuxFLDQzvrvWNTgHdm19YTZ1FWTmtPTKh9yFTIKwQ' \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/9.2.0' \
--data '{
"document": "74763091204"
}'200
{
"id": "67af78e1cb8b540b4ff0b8ff",
"createdAt": "2025-02-14T17:09:53.871Z",
"updatedAt": "2025-02-14T18:09:00.676Z",
"childId": "6734d9a93f261843829a60ff",
"organizationId": "6602cba04faa2a9211fb6fa6",
"typeId": "6724ea1c2dd97bbe53010ccd",
"name": "Gustavo",
"document": "41******000137",
"documentType": "CNPJ",
"signerDocument": "13******640",
"signerName": "Teste Optout",
"signerEmail": "[email protected]",
"signerPhoneNumber": "(35) 99***-7**6",
"status": "REVOKED",
"customerDocument": null,
"customerName": null,
"customerEmail": null,
"customerPhoneNumber": null,
"signedAt": null,
"signedByDocument": null,
"signedByName": null,
"externalId": null,
"fileUrl": null,
"type": {
"name": "SCR"
}
}