1. Overview
This document describes the Identity as a Service (IDaaS) APIs for managing accounts and organizational units. Use these APIs to integrate IDaaS data into your applications.
The APIs fall into four categories:
-
Get an access token. An access token is required to call all other APIs.
-
Query and manage accounts
-
Query and manage organizational units
-
Get the synchronization scope. You must manage accounts and organizational units within the specified synchronization scope.
2. Making API calls
Authentication
Before calling most IDaaS APIs, you must get an access token.
See General configurations for instructions on how to get the client_id and client_secret from the General tab of your application, and then get a token.
Note: Unlike Alibaba Cloud OpenAPI, the Developer APIs for an IDaaS application use the application's secret. You manage permissions for these APIs within IDaaS, not through Resource Access Management (RAM).
SDKs, sample code, and debugging
We recommend that you use an SDK to call the APIs.
The Alibaba Cloud OpenAPI Explorer provides the following features to help you work with IDaaS SDKs:
-
View the detailed API reference online
-
Debug APIs online
-
Download and install SDKs for various languages (Java, Python, Go, PHP, C#, C++, and TypeScript)
-
Get sample code for SDK calls for each language and API
On the API Debugging page, click Download Project to get a complete project that includes SDK installation instructions and call examples.
Direct API calls
Alternatively, you can call the APIs directly by using your own development or testing tools.
For a list of APIs, see the Alibaba Cloud IDaaS API list.
API list
The following table lists some example APIs. For detailed API information, see the detailed API reference.
|
Category |
Use case |
APIs |
Permission value |
|
Token |
Get a token |
|
- |
|
Account |
Account management APIs |
|
|
|
Account query APIs |
|
|
|
|
Organizational unit |
Organizational unit management APIs |
|
|
|
Organizational unit query APIs |
|
|
|
|
Synchronization scope |
Get the synchronization scope |
|
- |