Update Onboarding Document File by ID
PUT/v1/users/onboardings/:id/documents/:doc_id
Update an onboarding document file by providing its ID. If you haven't uploaded a file yet, use the appropriate endpoint to do so.
Request
Path Parameters
onboarding document file ID to be updated.
Onboarding ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
- multipart/form-data
Body
required
Possible values: [rg
, cnh
]
Document type specified for document_front and document_back. Required when send this files. Possible values: rg,cnh.
Possible values: [selfie
, document_front
, document_back
, address_proof
]
Document type related to previous uploaded document. Possible values: selfie,document_front,document_back,address_proof.
Responses
- 200
- 400
- 401
- 422
The onboarding document file updated successfully.
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.