Consent Requests

Update Consent Request State For Current Data Producer

Updates the status of a specific consent request. Only accessible to the data producer assigned to the consent request.

put/api/agreement/v1/consent-requests/{id}/status

Path parameters

idstring uuid required

ID of the consent request

Request body

'GRANTED' | 'OPENED' | 'DECLINED' | 'LEGALLY_PERMITTED' | 'NOT_CREATED' required

Possible states of a consent request:

  • GRANTED: Consent has been granted
  • OPENED: Consent request is open and awaiting response
  • DECLINED: Consent has been declined
  • NOT_CREATED: Placeholder to indicate that no consent request exists yet for a given UID.

Response

No Content

Changes

Changed in 8 of the 57 revisions of this API.184

    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • removed the DATA_PROVIDER_ERROR enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the DATA_PROVIDER_ERROR enum value from the response property for the response status

      response-property-enum-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • added the new DATA_PROVIDER_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_EXPIRED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_EXPIRED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_LOCKED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_LOCKED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_RESEND_COOLDOWN enum value to the response property for the response status

      response-property-enum-value-added

    • added the new OTP_RESEND_COOLDOWN enum value to the response property for the response status

      response-property-enum-value-added

    • added the new CONSENT_NOT_GRANTED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new CONSENT_NOT_GRANTED enum value to the response property for the response status

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new MAINTENANCE enum value to the response property for the response status

      response-property-enum-value-added

    • added the new MAINTENANCE enum value to the response property for the response status

      response-property-enum-value-added

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • added the new EXTERNAL_SERVICE_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    • added the new EXTERNAL_SERVICE_ERROR enum value to the response property for the response status

      response-property-enum-value-added

    This revision also has 54 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog