Skip to content
Trustaige Docs
API reference

Customer credentials

Erase a subject

delete /o/{shortId}/api/credentials/subjects/{subject}

When a customer leaves, erase them. Every credential they held reads as revoked from the next status check.

Authentication

A client token (Authorization: Bearer …) from POST /oauth2/token with the scope issued:manage .

Path parameters

  • shortId string required

    Your organization's short ID, as it appears in your issuer: https://id.trustaige.com/o/{shortId}.

  • subject string · uuid required

    The subject returned when you made the offer.

Responses

  • 204 Erased.
  • 404 Your app made no offer to this subject.

Errors

Errors come back as a code to branch on. What each means and what to do:

Status Code What to do
403 wrong_organization The token belongs to another organization's app.
404 unknown_subject No subject by that ID was minted by your app.