Delete a Credential

DELETE

/api/v1/delegations/{id}

Delete the Delegation object for an existing Profile.

Request

curl -X 'DELETE' --location 'https://nanotrust.io/api/v1/delegations/ID?profile_id=PROFILE_ID' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer YOUR_TOKEN'

Query Params

Name Type Descriptipon
Profile_id String Profile id
id String Credential id

Responses

200

Delegation successfully deleted

{}

401

You have not provided a profile_id parameter, we cannot return Credentials without a requested Profile.