For the complete documentation index, see llms.txt. This page is also available as Markdown.

Revoke credential

Why Credentials Can’t Be Deleted

Due to the nature of credentials, they cannot be deleted. To invalidate a specific credential for a user, you must revoke it.

Once revoked:

  • The credential will no longer appear in the List Credentials endpoint.

  • It will be excluded from all fit score calculations.

Credential Revocation

POST /api.moojo.id/revoke-credential

Headers

Name
Value

Content-Type

application/json

x-api-key

Your API KEY as provided by Moojo

Body

Name
Type
Description

credentialId

string

A unique ID representing the credential you want to revoke. You can get the ID by listing the user's credentials.

Request example

Response example

Last updated