Description:
Change selected attributes of a customer.
Precondition:
Authentication with X-Sds-Service-Token required.
Postcondition:
Selected attributes of customer are updated.
Further Information:
None.
643 matches
100 actions
DRACOON
100 actions
Infrastructure/DRACOON
Change selected attributes of a customer.
Authentication with X-Sds-Service-Token required.
Selected attributes of customer are updated.
None.
{
"type": "object",
"properties": {
"X-Sds-Date-Format": {
"type": "string",
"enum": [
"UTC",
"LOCAL",
"OFFSET",
"EPOCH",
"LEET"
]
},
"X-Sds-Service-Token": {
"type": "string"
},
"companyName": {
"type": "string",
"description": "Company name"
},
"customerContractType": {
"type": "string",
"description": "Customer type",
"enum": [
"demo",
"free",
"pay"
]
},
"customer_id": {
"type": "integer",
"format": "int64"
},
"isLocked": {
"type": "boolean",
"description": "Customer is locked:\n\n* `false` - unlocked\n\n* `true` - locked\n\n\n\nAll users of this customer will be blocked and can not login anymore."
},
"lockStatus": {
"type": "boolean",
"description": "🚧 Deprecated since v4.7.0\n\nCustomer lock status:\n\n* `false` - unlocked\n\n* `true` - locked\n\n\n\nPlease use `isLocked` instead.\n\nAll users of this customer will be blocked and can not login anymore."
},
"providerCustomerId": {
"type": "string",
"description": "Provider customer ID"
},
"quotaMax": {
"type": "integer",
"format": "int64",
"description": "Maximal disc space which can be allocated by customer in bytes. -1 for unlimited"
},
"userMax": {
"type": "integer",
"format": "int32",
"description": "Maximal number of users"
},
"webhooksMax": {
"type": "integer",
"format": "int64",
"description": "🚀 Since v4.19.0\n\nMaximal number of webhooks"
}
},
"required": [
"customerContractType",
"customer_id"
],
"additionalProperties": false
}{
"type": "object",
"description": "Customer information",
"required": [
"companyName",
"customerContractType",
"customerUuid",
"id",
"lockStatus",
"quotaMax",
"userMax"
],
"properties": {
"activationCode": {
"type": "string",
"description": "🚧 Deprecated since v4.8.0\n\nCustomer activation code string:\n\n* valid only for types `free` and `demo`\n\n* for `pay` customers it is empty"
},
"companyName": {
"type": "string",
"description": "Company name"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Creation date"
},
"customerAttributes": {
"type": "object",
"description": "List of customer attributes",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"description": "List of customer attributes",
"items": {
"type": "object",
"description": "Key-value pair",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"description": "Entry key"
},
"value": {
"type": "string",
"description": "Entry value"
}
}
}
}
}
},
"customerContractType": {
"type": "string",
"description": "Customer type",
"enum": [
"demo",
"free",
"pay"
]
},
"customerUuid": {
"type": "string",
"description": "🚀 Since v4.21.0\n\nCustomer UUID"
},
"id": {
"type": "integer",
"format": "int64",
"description": "Unique identifier for the customer"
},
"isLocked": {
"type": "boolean",
"description": "Customer is locked:\n\n* `false` - unlocked\n\n* `true` - locked\n\n\n\nAll users of this customer will be blocked and can not login anymore."
},
"lockStatus": {
"type": "boolean",
"description": "🚧 Deprecated since v4.7.0\n\nCustomer lock status:\n\n* `false` - unlocked\n\n* `true` - locked\n\n\n\nPlease use `isLocked` instead.\n\nAll users of this customer will be blocked and can not login anymore."
},
"providerCustomerId": {
"type": "string",
"description": "Provider customer ID"
},
"quotaMax": {
"type": "integer",
"format": "int64",
"description": "Maximal disc space which can be allocated by customer in bytes. -1 for unlimited"
},
"trialDays": {
"type": "integer",
"format": "int32",
"description": "Number of days left for trial period (relevant only for type `demo`)\n\n(not used)"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"description": "Modification date"
},
"userMax": {
"type": "integer",
"format": "int32",
"description": "Maximal number of users"
},
"webhooksMax": {
"type": "integer",
"format": "int64",
"description": "🚀 Since v4.19.0\n\nMaximal number of webhooks"
}
}
}