Skip to main content
PUT
Update a client

Authorizations

Authorization
string
header
required

Path Parameters

clientId
string<uuid>
required

Id of the client.

Body

application/json
name
string
required
Required string length: 1 - 80
externalId
string | null

Id of the client outside LeanPay, chosen by the integrator. null or empty keeps the current value.

Maximum string length: 80

Response

200 - application/json

The updated client.

id
string<uuid>
required

Id of the client.

tenantId
string<uuid>
required
externalId
string | null
required

Id of the client outside LeanPay. null when the client has none.

name
string
required

Name of the client.

createdAt
string<date-time>
required

Date the client was created.

updatedAt
string<date-time>
required

Date the client was last updated.