Verifier Policies

Retrieve verifier policy

Retrieves an ecosystem verifier policy by its ID.

SecuritybearerAuth
Request
path Parameters
ecosystemId
required
string <uuid>

The UUID of the ecosystem

Example: 87880d7e-a4d0-462e-8383-3f1e5e16865d
header Parameters
If-None-Match
string

The If-None-Match parameter enables caching. Specify the ETag of the latest retrieved policy version, so that the policy is only retrieved if it had changed since.

Accept-Encoding
string

Use the Accept-Encoding header to specify the supported content encodings.

Enum: "gzip" "deflate"
Responses
200

Ecosystem verifier policy retrieved

304

Not Modified. The resource has not been modified since the last request.

404

Not Found. The specified resource was not found.

get/v1/ecosystems/{ecosystemId}/verifiers
Request samples
Response samples
application/json
{
  • "policyModifiedAt": "2023-10-17T00:00:00Z",
  • "credentials": {
    },
  • "participants": {
    }
}

Create verifier policy

Creates a verifier policy for the requested participant in the requested ecosystem.

Analytic events

  • ECOSYSTEM_VERIFIER_POLICY_CREATE_START
  • ECOSYSTEM_VERIFIER_POLICY_CREATE_SUCCESS
  • ECOSYSTEM_VERIFIER_POLICY_CREATE_FAIL
SecuritybearerAuth
Request
path Parameters
ecosystemId
required
string <uuid>

The UUID of the ecosystem

Example: 87880d7e-a4d0-462e-8383-3f1e5e16865d
participantId
required
string <uuid>

The UUID of the participant

Example: a24e391a-c27f-4b6e-9805-1ee7e03f3c58
Request Body schema: application/json
required
credentialId
string <uuid>
Responses
201

Verifier policy created

400

Bad Request. The request was malformed or missing required parameters.

404

Not Found. The specified resource was not found.

500

Internal Server Error. An unexpected error occurred.

post/v1/ecosystems/{ecosystemId}/participants/{participantId}/verifier/credentials
Request samples
application/json
{
  • "credentialId": "599bf148-d711-405a-a20b-9c8a87ac8850"
}
Response samples
application/json
{
  • "id": "599bf148-d711-405a-a20b-9c8a87ac8850",
  • "ecosystemId": "87880d7e-a4d0-462e-8383-3f1e5e16865d",
  • "profile": "compact",
  • "type": "DriverLicence",
  • "name": "Driver's Licence"
}

Delete verifier policy

Deletes a verifier policy for the requested participant in the requested ecosystem by its ID.

Analytic events

  • ECOSYSTEM_VERIFIER_POLICY_DELETE_START
  • ECOSYSTEM_VERIFIER_POLICY_DELETE_SUCCESS
  • ECOSYSTEM_VERIFIER_POLICY_DELETE_FAIL
SecuritybearerAuth
Request
path Parameters
ecosystemId
required
string <uuid>

The UUID of the ecosystem

Example: 87880d7e-a4d0-462e-8383-3f1e5e16865d
participantId
required
string <uuid>

The UUID of the participant

Example: a24e391a-c27f-4b6e-9805-1ee7e03f3c58
credentialId
required
string <uuid>

The UUID of the credential

Example: 599bf148-d711-405a-a20b-9c8a87ac8850
Responses
204

Verifier policy deleted

400

Bad Request. The request was malformed or missing required parameters.

404

Not Found. The specified resource was not found.

500

Internal Server Error. An unexpected error occurred.

delete/v1/ecosystems/{ecosystemId}/participants/{participantId}/verifier/credentials/{credentialId}
Request samples
Response samples
application/json
{
  • "code": "string",
  • "message": "string",
  • "details": [
    ]
}