SubClient
Creates a new SubClient (to be with enabled sub-clients module)
This API can be used on instances with enabled sub-clients module only. API generates a new SubClient. Optionally a set of ApiTokens and StandardValues can be generated. <b>NOTE:</b> System will check for existing SubClients with provided externalId. In case of existing SubClient with same externalId, API will return the existing.
POST
/api/sub-clientsAuthorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Request Body
application/json
required
The new SubClient resource
{
"externalId": "id123",
"description": "Any description",
"tokenIdentifiers": [
"default",
"special"
],
"standardValuesList": {
"key1": "value1",
"key2": "line1\nline2"
}
}Response
201
SubClient resource created
id
integer
Identifier generated by Output.Rocks.
externalId
string
Optional identifier, used in connected system. External ID has to be unique.
description
string
SubClient description
tokens
object[]
standardValues
object[]