---
title: "Accept Agb"
method: POST
path: "/api/user/v1/agb-revisions/{agb-revision-id}/accept"
tags: ["Users"]
---

# Accept Agb

`POST /api/user/v1/agb-revisions/{agb-revision-id}/accept`

## Request

- The document declares no server URL.
- Auth: OpenID Connect (`http://localhost:6999/realms/agate/.well-known/openid-configuration`, scopes: `agridata.ch.Agridata_Datenbezueger`, `agridata.ch.Agridata_Datenanbieter`)

Records acceptance of the current AGB revision for the currently authenticated user.

## Path parameters

- `agb-revision-id` string, uuid, required

## Response `201`

Created

## Other responses

- `401`: Not Authorized
- `403`: Not Allowed
- `404`: The resource or element was not found
- `500`: Internal server error: unexpected error

## Changes

- **2026-07-23** `4f907e176481`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agridata/apis/agridata-ch-api/changes/api/user/v1/agb-revisions/:agb-revision-id/accept/post.md)

---

[API](https://skmtc.dev/agridata/apis/agridata-ch-api.md) - [All operations](https://skmtc.dev/agridata/apis/agridata-ch-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agridata/apis/agridata-ch-api/revisions/4f3c6bfcfcfd?raw)
