v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
Applications

Grant a list of organization access of a user for a application.

Grant a list of organization access of a user for a application by application id and user id. <br/> The user must be a member of all the organizations. <br/> Only third-party application needs to be granted access to organizations, all the other applications can request for all the organizations' access by default.

post/api/applications/{id}/users/{userId}/consent-organizations

Path parameters

idstring required

The unique identifier of the application.

userIdstring required

The unique identifier of the user.

Request body

organizationIdsstring[] required

A list of organization ids to be granted.

Response

All the request organizations's access are granted to the user for the application.