Skip to main content
Call this API to get the list of IDs of all parent departments of a specified department. This API is not restricted by the Contacts permission scope.

Request

Query parameters

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response body example

Error codes

If an error is returned when you call this API, refer to the Global error codes document to find a solution based on the error message.