---
title: "Register account"
method: PUT
path: "/issuers/{issuerId}/accounts/{accountId}"
tags: ["Deprecated"]
deprecated: true
---

# Register account

`PUT /issuers/{issuerId}/accounts/{accountId}`

## Request

- Base URL: `https://api.d1.thalescloud.io/authz/v1`
- URL: `https://api.d1.thalescloud.io/authz/v1/issuers/{issuerId}/accounts/{accountId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/thalescloud/apis/d1-oauth-api/docs/issuers/:issuerId/accounts/:accountId/put.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

> Please check with Thales integration team before using this API request.
This request is used by the issuer backend to register an account.

## Request body

- object: The following object represents the account
  - `consumerId` string, required: Unique identifier of the end user.
  - `accountProductId` string: RFU - Unique identifier of the type of account
  - `state` 'INACTIVE' | 'ACTIVE', required: the state of the account

## Response `204`

Successful account 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
- `403`: Forbidden action, check the state of the linked end user (consumer)
- `404`: Account not found.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/thalescloud/apis/d1-oauth-api.md) - [All operations](https://skmtc.dev/thalescloud/apis/d1-oauth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thalescloud/apis/d1-oauth-api/revisions/96089514858c?raw)
