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

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

securityCode
string

The security code

domain
string

The G Suite domain

Body

application/json
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

Response

204 - undefined