---
title: "Set Consent"
method: PUT
path: "/gateway/consent"
tags: ["gateway"]
---

# Set Consent

`PUT /gateway/consent`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/gateway/consent`
- Auth: HTTP bearer

Replaces the tenant's consent and opt-ins; eval_only is always among the uses.

## Request body

- ConsentIn
  - `permission_ref` string, required
  - `allowed_uses` AllowedUse[], required
  - `cross_tenant_pool` boolean, required
  - `os3_model_training` boolean, required

## Response `200`

Successful Response

- Consent
  - `permission_ref` string
  - `allowed_uses` string[]
  - `cross_tenant_pool` boolean
  - `os3_model_training` boolean
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/os3robotics/apis/os3-api.md) - [All operations](https://skmtc.dev/os3robotics/apis/os3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/os3robotics/apis/os3-api/revisions/af32cd4f14bb?raw)
