Skip to content

GET/PATCH/PUT/DELETE · Bearer

GET/PATCH/PUT/DELETE /api/v1/inboxes/:id/credentials/:cid

Summary

Read, replace, or delete one credential. GET returns the public fields only. PATCH and PUT replace the value, label, or metadata. type cannot change. DELETE returns {object:"credential", id, deleted:true}. GET requires credentials:read. PATCH, PUT, and DELETE require credentials:write. Another account's id is HTTP 404 credential_not_found.

Request

{
  "secret": "JBSWY3DPEHPK3PXP"
}

Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

Errors

  • HTTP 404 credential_not_found

Idempotency

This route does not document Idempotency-Key or client_id.