Dismiss Pix Key by ID
POST/pix/keys/:id/dismiss
Set a pix key to not be shown anymore. The key's state will be changed to CLAIM_PENDING, CANCELED or READY based on the current state:
<ul>
<li>If the key state is CLAIM_NOT_CONFIRMED, it will change to CLAIM_PENDING.
<li>If the key state is PORTABILITY_REQUEST_AUTO_CONFIRMED, it will change to CANCELED.
<li>If the key state is PORTABILITY_CANCELED, it will change to CANCELED.
<li>If the key state is OWNERSHIP_CANCELED, it will change to CANCELED.
<li>If the key state is OWNERSHIP_CONFLICT, it will change to CANCELED.
<li>If the key state is CLAIM_CLOSED, it will change to CANCELED.
<li>If the key state is PORTABILITY_READY, it will change to READY.
<li>If the key state is OWNERSHIP_READY, it will change to READY.
<li>If the key state is ADD_KEY_READY, it will change to READY.
<li>If the key state is DELETED, it will change to CANCELED.
<li>If the key state is NOT_CONFIRMED, it will change to CANCELED.
</ul>
Returns the user's pix key with the state set to CLAIM_PENDING, CANCELED or READY.
Request
Path Parameters
id stringrequired
Pix Key ID.
Header Parameters
nonce stringrequired
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
Responses
- 200
- 400
- 401
- 404
- 422
The pix key returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
Pix Key ID.
key stringrequired
Pix key.
type objectrequired
Pix Key Type.
state objectrequired
Pix Key State.
created_at date-timerequired
Pix Key created at.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"key": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": "EVP",
"state": "CANCELED",
"created_at": "2024-11-22T13:43:07.728Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If the key id was not found.
If any required params are missing or has invalid format or type.
Loading...