Skip to main content
PUT
/
category
/
v1
/
libraries
/
{libraryId}
/
categories
/
{categoryId}
/
values
cURL
curl --request PUT \
  --url https://aodocs.altirnao.com/api/category/v1/libraries/{libraryId}/categories/{categoryId}/values \
  --header 'Authorization: Bearer <token>'
{
  "ancestors": "<array>",
  "id": "<string>",
  "kind": "<string>",
  "leaf": true,
  "leafInNotOutdatedTree": true,
  "name": "<string>",
  "name_i18n": "<string>",
  "outdated": true,
  "parentId": "<string>",
  "shortName": "<string>",
  "value": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

libraryId
string
required

The ID of the library

categoryId
string
required

The ID of the category

Query Parameters

parentCategoryValueId
string

The ID of a parent category value (leave empty for root level)

categoryValueName
string
required

The name of a category value

categoryShortName
string

The short name of a category value

outdated
boolean
default:false

Whether the category value is outdated

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiCategoryValue response

ancestors
array

Ancestor category values from direct parent to root - only present with loadCategoryValue

id
string

The ID of the category value

kind
string
leaf
boolean

Whether the category value is leaf

leafInNotOutdatedTree
boolean

Whether the category value is leaf without not outdated child

name
string

The name of the category value

name_i18n
string

The internationalized name of the category value (read-only field)

outdated
boolean

Whether the category value is marked as outdated

parentId
string

The ID of the parent category value (read-only field)

shortName
string

The short name of the category value

value
string

(Deprecated) The ID of the category value