Custom Attributes

Create and manage Custom Attributes for your organization.

These API operations are for creating, managing and deleting Custom Attributes in your organization account. To apply custom attributes to assets and glossaries, check out the Assets APIs instead.

List Custom Attributes

get

Retrieves all custom attribute definitions.

Responses
200

Successful Response

application/json
Responseany of
or
get
/custom-attributes
GET /api/v1/data/custom-attributes HTTP/1.1
Host: connect.<REGION>.decube.io
Accept: */*
[
  {
    "id": 1,
    "type": "text",
    "label": "text",
    "description": "text",
    "allowed_objects": [
      "source"
    ]
  }
]

Create Custom Attributes

post

Creates a new custom attribute definition using the provided request body.

Body
any ofOptional
or
or
or
or
Responses
200

Successful Response

application/json
Responseany
post
/custom-attributes
POST /api/v1/data/custom-attributes HTTP/1.1
Host: connect.<REGION>.decube.io
Content-Type: application/json
Accept: */*
Content-Length: 97

{
  "label": "text",
  "description": "text",
  "allowed_objects": [
    "source"
  ],
  "type": "text",
  "cfg_max_char": 1
}

No content

Update Custom Attributes

put

Updates and replaces an existing custom attribute definition.

Body
any ofOptional
or
or
or
or
Responses
200

Successful Response

application/json
Responseany
put
/custom-attributes
PUT /api/v1/data/custom-attributes HTTP/1.1
Host: connect.<REGION>.decube.io
Content-Type: application/json
Accept: */*
Content-Length: 104

{
  "label": "text",
  "description": "text",
  "allowed_objects": [
    "source"
  ],
  "id": 1,
  "type": "text",
  "cfg_max_char": 1
}

No content

Delete Custom Attributes

delete

Deletes a custom attribute definition by ID.

Query parameters
idintegerRequired
Responses
200

Successful Response

application/json
Responseany
delete
/custom-attributes
DELETE /api/v1/data/custom-attributes?id=1 HTTP/1.1
Host: connect.<REGION>.decube.io
Accept: */*

No content

Last updated