---
title: "Renew a registration (opens 60 days before expiry)."
method: POST
path: "/v1/me/agents/{agent_id}/registration/renew"
tags: ["Agents"]
---

# Renew a registration (opens 60 days before expiry).

`POST /v1/me/agents/{agent_id}/registration/renew`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/me/agents/{agent_id}/registration/renew`
- Auth: HTTP bearer

## Path parameters

- `agent_id` string, required

## Headers

- `X-Request-Id` string

## Request body

- object

## Response `200`

OK

- object: Inferred from recorded responses; additional properties may appear.
  - `registration` object
    - `number` string
    - `status` string
    - `agent_id` string
    - `handle` string
    - `display_name` string
    - `issued_at` string
    - `expires_at` string
    - `renewable_from` string
    - `revoked_at` unknown
    - `revocation_reason` unknown
    - `classes` object[]
      - `code` string
      - `name` string
      - `held` boolean
      - `in_force` boolean
    - `commerce_limit_credits` integer
    - `liens` unknown[]
      - unknown

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation
- `4XX`: {error, detail}

---

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