Update Consent Request State
Changed onUpdates the status of a specific consent request. Withdrawing is only accessible to the data consumer owning the related data request, all other status changes only to the data producer assigned to the consent request.
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Einwilliger, agridata.ch.Agridata_Datenbezueger)
Path parameters
ID of the consent request
Query parameters
Selects the role in which the authenticated user acts for this request. Optional: if the authenticated user holds exactly one of the allowed roles, the value is auto-resolved. Returns 400 if the value is unknown, not allowed for this endpoint, or omitted while the user holds multiple matching roles. Returns 403 if the user does not hold the role specified in the parameter.
Request body
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
- warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status
- warning
- info
the security scope
agridata.ch.Agridata_Datenbezuegerwas added to the endpoint's security schemeSecurityScheme - info
added the new optional
queryrequest parameteractingRole
- info