Skip to main content

consent_management

Consent Auto Approve

Creates an auto-approval policy: consent requests from the HIU named are approved without asking, for the sources included and not the ones excluded.

POST/api/consent-management/consents/auto-approve

Authorizations

Authorizationbearer tokenRequired

The access token from POST /api/hiecm/gateway/v3/sessions.

Body

isApplicableForAllHIPsbooleanRequired
hiuobjectRequired
hiu.idstringRequired
hiu.namestringRequired
includedSourcesobject[]Required
includedSources.hiTypesstring[]Required
includedSources.purposeobjectRequired
includedSources.purpose.textstringRequired
includedSources.purpose.codestringRequired
includedSources.purpose.refUristringRequired
includedSources.hipnullRequired
includedSources.periodobjectRequired
includedSources.period.fromstringRequired
includedSources.period.tostringRequired
excludedSourcesnullRequired

Responses

200

Example values, scrubbed.

400

Example values, scrubbed.

Error codes for this module

401

Example values, scrubbed.

Everything returns 401