Get ancestors of a term

GET https://{{base_url}}/v3/taxonomies/{{taxonomy_uid}}/terms/{{term_uid}}/ancestors

The Get ancestors of a term returns all the terms that are at higher levels in a specific taxonomy of the specified term.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Get ancestors of a term API Reference document

Request Params

KeyDatatypeRequiredDescription
include_children_countbooleanSet this parameter to 'true' to include in response the total count of child terms available in the parent term.
include_referenced_entries_countbooleanSet this parameter to 'true' to include in response the total count of entries in which the term is added.
include_countbooleanSet this parameter to 'true' to include in response the total count of terms available in the specified taxonomy.
limitnumberEnter the maximum number of terms to be returned.
skipnumberEnter the number of terms to be skipped from the response body.

HEADERS

KeyDatatypeRequiredDescription
api_keystringEnter the API key of the stack.
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
Content-Typestring