---
title: "Register consumer"
method: PUT
path: "/issuers/{issuerId}/consumers/{consumerId}"
tags: ["Register"]
---

# Register consumer

`PUT /issuers/{issuerId}/consumers/{consumerId}`

This request is used by the issuer backend to request the registration of the end user (consumer).<br/>As an input only the consumerId and the state are needed.

## Request body

- object — The following object represent the consumer
  - `state` 'INACTIVE' | 'ACTIVE' — The state of the end user (consumer)<br/>**Note**: Consumer state is deprecated, Thales will no more check the consumer's state. You can still pass it but it will be ignored.

## Response `204`

Successful end user registration

## Other responses

- `400` — Bad Request, Invalid request URI or header, or unsupported non-standard parameter
- `401` — The provided Authorization header is missing or invalid
- `404` — Resource not found, Unknown issuerId.
- `500` — Internal Server Error

---

[API](https://skmtc.net/thalescloud/apis/d1-oauth-api.md) · [All operations](https://skmtc.net/thalescloud/apis/d1-oauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thalescloud/d1-oauth-api/revisions/96089514858c/schema)
