action dracoon_update_profile_attributes {
label: "Add or edit user profile attributes"
description: "
🚀 Since v4.7.0
\n\n### Description: \nAdd or edit custom user profile attributes.\n
🚧 **Warning: Please note that the response with HTTP status code 200 (OK) is deprecated and will be replaced with HTTP status code 204 (No content)!**
\n\n### Precondition:\nNone.\n\n### Postcondition:\nCustom user profile attributes are added or edited.\n\n### Further Information:\nBatch function. \nIf an entry existed before, it will be overwritten. \nRange submodel is never returned.\n\n* Allowed characters for keys are: `[a-zA-Z0-9_-]` \n* Characters are **case-insensitive** \n* Maximum key length is **255** \n* Maximum value length is **4096**"
provider: dracoon
method: PUT
path: "/v4/user/profileAttributes"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
items: {
type: "array"
description: "List of key-value pairs"
items: {
type: "object"
description: "Key-value pair"
required: ["key", "value"]
properties: {
key: {
type: "string"
description: "Entry key"
}
value: {
type: "string"
description: "Entry value"
}
}
}
}
}
required: ["items"]
additionalProperties: false
}
output: {
type: "object"
description: "User profile attributes"
required: ["items", "range"]
properties: {
items: {
type: "array"
description: "List of key-value pairs"
items: {
type: "object"
description: "Key-value pair"
required: ["key", "value"]
properties: {
key: {
type: "string"
description: "Entry key"
}
value: {
type: "string"
description: "Entry value"
}
}
}
}
range: {
type: "object"
description: "Range information"
required: ["limit", "offset", "total"]
properties: {
limit: {
type: "integer"
format: "int64"
description: "Range limit. Maximum 500."
}
offset: {
type: "integer"
format: "int64"
description: "Range offset"
}
total: {
type: "integer"
format: "int64"
description: "Total items available"
}
}
}
}
}
}