curl --request PUT \
--url https://test.didxtech.com/me-creds/api/trusted-entities/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Trusted Issuer",
"dids": [
{
"did": "did:web:example.com",
"name": "Main DID"
}
],
"certificates": []
}
'{
"data": {
"id": "cm7d9cq5600pwk3zq3kmpg8uc",
"name": "Trusted Government Issuer",
"createdAt": "2025-02-20T11:27:37.051Z",
"updatedAt": "2025-02-20T11:27:37.051Z",
"dids": [
{
"did": "did:web:example.com",
"name": "Main DID"
}
],
"certificates": []
},
"links": {
"self": "<string>",
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>",
"related": "<string>"
},
"meta": {},
"errors": [
{
"detail": "<string>",
"id": "<string>",
"status": "<string>",
"code": "<string>",
"title": "<string>",
"source": {
"pointer": "<string>",
"parameter": "<string>"
},
"meta": {}
}
]
}curl --request PUT \
--url https://test.didxtech.com/me-creds/api/trusted-entities/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Trusted Issuer",
"dids": [
{
"did": "did:web:example.com",
"name": "Main DID"
}
],
"certificates": []
}
'{
"data": {
"id": "cm7d9cq5600pwk3zq3kmpg8uc",
"name": "Trusted Government Issuer",
"createdAt": "2025-02-20T11:27:37.051Z",
"updatedAt": "2025-02-20T11:27:37.051Z",
"dids": [
{
"did": "did:web:example.com",
"name": "Main DID"
}
],
"certificates": []
},
"links": {
"self": "<string>",
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>",
"related": "<string>"
},
"meta": {},
"errors": [
{
"detail": "<string>",
"id": "<string>",
"status": "<string>",
"code": "<string>",
"title": "<string>",
"source": {
"pointer": "<string>",
"parameter": "<string>"
},
"meta": {}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Trusted entity updated
Show child attributes
{
"id": "cm7d9cq5600pwk3zq3kmpg8uc",
"name": "Trusted Government Issuer",
"createdAt": "2025-02-20T11:27:37.051Z",
"updatedAt": "2025-02-20T11:27:37.051Z",
"dids": [
{
"did": "did:web:example.com",
"name": "Main DID"
}
],
"certificates": []
}Show child attributes
Show child attributes
Show child attributes