---
title: "Update a register"
method: PATCH
path: "/oauth/register/{id}"
tags: ["API authentication"]
---

# Update a register

`PATCH /oauth/register/{id}`

## Request

- Base URL: `https://core.sivo.com`
- URL: `https://core.sivo.com/oauth/register/{id}`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://dashboard.sivo.com/oauth/authorize`
    - Client credentials
    - Token URL: `https://core.sivo.com/oauth/token`
- TypeScript: <https://skmtc.dev/sivo/apis/sivo-advance-api/docs/oauth/register/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: An object id with prefix

## Headers

- `if-match` string, date-time, required: [ETag](https://en.wikipedia.org/wiki/HTTP_ETag) value for [Optimistic Concurrency Control (OCC)](https://en.wikipedia.org/wiki/Optimistic_concurrency_control). Should contain the last known updated_at timestamp in ISO 8601 format.

## Request body

- object
  - `redirect_uris` string[], required
  - `token_endpoint_auth_method` 'none' | 'client_secret_post' | 'client_secret_basic'
  - `grant_types` string[]
  - `response_types` string[]
  - `client_name` string: Non-empty text string
  - `client_uri` string, uri: HTTP(S) URL
  - `logo_uri` string, uri: HTTP(S) URL
  - `scope` string
  - `contacts` string[]
  - `tos_uri` string, uri: HTTP(S) URL
  - `policy_uri` string, uri: HTTP(S) URL
  - `jwks_uri` string, uri: HTTP(S) URL
  - `jwks` object: Key-value metadata object
  - `software_id` string: Non-empty text string
  - `software_version` string: Non-empty text string
  - `software_statement` string: Non-empty text string

## Response `200`

Successful operation

- object
  - `redirect_uris` string[], required
  - `token_endpoint_auth_method` 'none' | 'client_secret_post' | 'client_secret_basic'
  - `grant_types` string[]
  - `response_types` string[]
  - `client_name` string: Non-empty text string
  - `client_uri` string, uri: HTTP(S) URL
  - `logo_uri` string, uri: HTTP(S) URL
  - `scope` string
  - `contacts` string[]
  - `tos_uri` string, uri: HTTP(S) URL
  - `policy_uri` string, uri: HTTP(S) URL
  - `jwks_uri` string, uri: HTTP(S) URL
  - `jwks` object: Key-value metadata object
  - `software_id` string: Non-empty text string
  - `software_version` string: Non-empty text string
  - `software_statement` string: Non-empty text string
  - `client_id` string, required: Non-empty text string
  - `client_secret` string: Non-empty text string
  - `client_id_issued_at` integer: Non-negative integer (0 to 2147483647)
  - `client_secret_expires_at` integer: Non-negative integer (0 to 2147483647)
  - `registration_client_uri` string, uri: HTTP(S) URL
  - `registration_access_token` string: Non-empty text string

---

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