API Reference
Biometric Pix

Revoke an enrollment

PUT/biometric/enrollments/{enrollmentId}/revoke
Base URL: https://okto.mimicr.dev · provider: https://demo-pix.oktopay.eu

Revokes the enrollment (4137 if already revoked). A BiometricEnrollment notification is sent.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

enrollmentIdstringrequired

Enrollment id.

Example: "5e32e193-4d02-4f86-aa16-f0920559df4f"

Responses

200Revoked.
idstring

Enrollment id.

statusstring

Status.

Example: "revoked"
taxIdstring

Player CPF.

namestring

Player name.

createdstring<date-time>

Creation time.

Example: "2026-10-21T19:08:59.710000+00:00"
400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
401Invalid access token (code 2000).
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"
403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
errorsobject[]required

Errors of the request.

Show child attributes
codeintegerrequired

Okto error code (see the error catalog).

Example: 2001
messagestringrequired

Fixed message of the code.

Example: "The tax id is invalid."
detailedMessagestringrequired

What exactly went wrong.

Example: "taxId must be a valid CPF"