Skip to main content
POST
/
api
/
v1
/
org
/
attributes
cURL
curl --request POST \
  --url http://api/v1/org/attributes \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "name": "<string>",
  "attributeDefault": "<string>",
  "groups": [
    {
      "value": "<string>",
      "groupUuid": "<string>"
    }
  ],
  "users": [
    {
      "userUuid": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "results": {
    "attributeDefault": "<string>",
    "groups": [
      {
        "value": "<string>",
        "groupUuid": "<string>"
      }
    ],
    "users": [
      {
        "value": "<string>",
        "email": "<string>",
        "userUuid": "<string>"
      }
    ],
    "description": "<string>",
    "organizationUuid": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "uuid": "<string>"
  },
  "status": "ok"
}

Body

application/json

the user attribute to create

the user attribute to create From T, pick a set of properties whose keys are in the union K

name
string
required
attributeDefault
string | null
required
groups
object[]
required
users
object[]
required
description
string

Response

Ok

results
object
required
status
enum<string>
required
Available options:
ok