Skip to main content
PATCH
/
projects
/
{projectId}
/
customers
/
{customerId}
Update a customer
curl --request PATCH \
  --url https://api.console.corti.app/functions/v1/public/projects/{projectId}/customers/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "displayName": "admin",
  "customerId": "contosohospital",
  "isNfr": false
}'
{
  "displayName": "admin",
  "tenantName": "base",
  "region": "eu",
  "customerId": "contosohospital",
  "isNfr": false,
  "createdAt": "2023-10-01T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Path Parameters

projectId
string
required
Example:
customerId
string
required
Example:

Body

application/json
displayName
string
Example:
customerId
string
Maximum length: 64
Example:
isNfr
boolean
Example:

Response

displayName
string
required
Example:
tenantName
string
default:base
required
Maximum length: 14
Example:
region
enum<string>
default:eu
required
Available options:
eu,
us
customerId
string
required
Maximum length: 64
Example:
isNfr
boolean
default:false
Example:
createdAt
string<date-time>
Example: