SubClient
Updates the SubClient resource.
Updates the SubClient resource.
PATCH
/api/spa/sub-clients/{id}Authorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Path Parameters
id
stringrequired
SubClient identifier
Request Body
application/ld+json
required
The updated SubClient resource
{
"id": 123,
"externalId": "string",
"description": "Example description",
"color": "#083E5D",
"createdBy": "user1@company.com",
"updatedBy": "user1@company.com",
"createdAt": "2024-08-23T00:00:00+00:00",
"updatedAt": "2024-08-23T00:00:00+00:00"
}application/json
required
The updated SubClient resource
{
"id": 123,
"externalId": "string",
"description": "Example description",
"color": "#083E5D",
"createdBy": "user1@company.com",
"updatedBy": "user1@company.com",
"createdAt": "2024-08-23T00:00:00+00:00",
"updatedAt": "2024-08-23T00:00:00+00:00"
}Response
200
SubClient resource updated
id
integer
externalId
string | null
description
string
settings
string | null[]
color
string
HTML color code to be used on Dashboard-charts and statistics.
client
value | null
createdBy
string
User, created this entry
updatedBy
string
User, updated this entry
createdAt
string<date-time>
UTC date time of entry creation
updatedAt
string<date-time>
UTC date time of last entry update
defaultColor
string
subClient
string<iri-reference> | null