'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'Eiam-developerapi', 'version' => '2022-02-25', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ObtainCredential' => [ 'path' => '/v2/{instanceId}/credentials/_/actions/obtain', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', 'application/json', 'multipart/form-data', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, 'maxLength' => 64, ], ], [ 'name' => 'credentialIdentifier', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'maxLength' => 64, ], ], ], ], 'ObtainCloudAccountRoleAccessCredential' => [ 'path' => '/v2/{instanceId}/cloudAccountRoles/_/actions/obtainAccessCredential', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'consumes' => [ 'application/x-www-form-urlencoded', 'application/json', 'multipart/form-data', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'cloudAccountRoleExternalId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GenerateToken' => [ 'path' => '/v2/{instanceId}/{applicationId}/oauth2/token', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'client_id', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'client_secret', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'grant_type', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'authorization_code', 'urn:ietf:params:oauth:grant-type:device_code', 'refresh_token', 'client_credentials', 'password', ], ], ], [ 'name' => 'code', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'username', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'password', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'device_code', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'redirect_uri', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'refresh_token', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'code_verifier', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'exclusive_tag', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'scope', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GenerateDeviceCode' => [ 'path' => '/v2/{instanceId}/{applicationId}/oauth2/device/code', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'scope', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetUserInfo' => [ 'path' => '/v2/{instanceId}/{applicationId}/oauth2/userinfo', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RevokeToken' => [ 'path' => '/v2/{instanceId}/{applicationId}/oauth2/revoke', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'client_id', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'client_secret', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'token', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'token_type_hint', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'GetApplicationProvisioningScope' => [ 'path' => '/v2/{instanceId}/{applicationId}/provisioningScope', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'CreateOrganizationalUnit' => [ 'path' => '/v2/{instanceId}/{applicationId}/organizationalUnits', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'organizationalUnitName' => [ 'type' => 'string', 'required' => true, ], 'parentId' => [ 'type' => 'string', 'required' => true, ], 'organizationalUnitExternalId' => [ 'type' => 'string', 'required' => false, ], 'description' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], 'PatchOrganizationalUnit' => [ 'path' => '/v2/{instanceId}/{applicationId}/organizationalUnits/{organizationalUnitId}', 'methods' => [ 'patch', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'organizationalUnitId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'organizationalUnitName' => [ 'type' => 'string', 'required' => false, ], 'description' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], 'GetOrganizationalUnit' => [ 'path' => '/v2/{instanceId}/{applicationId}/organizationalUnits/{organizationalUnitId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'organizationalUnitId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'DeleteOrganizationalUnit' => [ 'path' => '/v2/{instanceId}/{applicationId}/organizationalUnits/{organizationalUnitId}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'organizationalUnitId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ListOrganizationalUnits' => [ 'path' => '/v2/{instanceId}/{applicationId}/organizationalUnits', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'parentId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], ], ], 'ListOrganizationalUnitParentIds' => [ 'path' => '/v2/{instanceId}/{applicationId}/organizationalUnits/{organizationalUnitId}/parentIds', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'organizationalUnitId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetOrganizationalUnitIdByExternalId' => [ 'path' => '/v2/{instanceId}/{applicationId}/organizationalUnits/_/actions/getOrganizationalUnitIdByExternalId', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'organizationalUnitExternalId' => [ 'type' => 'string', 'required' => true, ], 'organizationalUnitSourceType' => [ 'type' => 'string', 'required' => true, ], 'organizationalUnitSourceId' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], ], 'CreateUser' => [ 'path' => '/v2/{instanceId}/{applicationId}/users', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'username' => [ 'type' => 'string', 'required' => true, ], 'displayName' => [ 'type' => 'string', 'required' => false, ], 'password' => [ 'type' => 'string', 'required' => false, ], 'phoneRegion' => [ 'type' => 'string', 'required' => false, ], 'phoneNumber' => [ 'type' => 'string', 'required' => false, ], 'phoneNumberVerified' => [ 'type' => 'boolean', 'required' => false, ], 'email' => [ 'type' => 'string', 'required' => false, ], 'emailVerified' => [ 'type' => 'boolean', 'required' => false, ], 'userExternalId' => [ 'type' => 'string', 'required' => false, ], 'primaryOrganizationalUnitId' => [ 'type' => 'string', 'required' => true, ], 'description' => [ 'type' => 'string', 'required' => false, ], 'passwordInitializationConfig' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'passwordInitializationPolicyPriority' => [ 'type' => 'string', 'required' => false, ], 'passwordForcedUpdateStatus' => [ 'type' => 'string', 'required' => false, ], 'userNotificationChannels' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], ], 'passwordInitializationType' => [ 'type' => 'string', 'required' => false, ], ], ], 'customFields' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'fieldName' => [ 'type' => 'string', 'required' => false, ], 'fieldValue' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], ], ], ], 'PatchUser' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}', 'methods' => [ 'patch', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'username' => [ 'type' => 'string', 'required' => false, ], 'displayName' => [ 'type' => 'string', 'required' => false, ], 'phoneRegion' => [ 'type' => 'string', 'required' => false, ], 'phoneNumber' => [ 'type' => 'string', 'required' => false, ], 'phoneNumberVerified' => [ 'type' => 'boolean', 'required' => false, ], 'email' => [ 'type' => 'string', 'required' => false, ], 'emailVerified' => [ 'type' => 'boolean', 'required' => false, ], 'customFields' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'operator' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, ], 'fieldName' => [ 'type' => 'string', 'required' => false, ], 'fieldValue' => [ 'type' => 'string', 'required' => false, ], 'operation' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], ], ], ], 'GetUser' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'UpdateUserPassword' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}/actions/updateUserPassword', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'password' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], 'DeleteUser' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ListUsers' => [ 'path' => '/v2/{instanceId}/{applicationId}/users', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'organizationalUnitId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], ], ], 'EnableUser' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}/actions/enable', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'DisableUser' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}/actions/disable', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetUserIdByEmail' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/_/actions/getUserIdByEmail', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'email' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], ], 'GetUserIdByPhoneNumber' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/_/actions/getUserIdByPhoneNumber', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'phoneNumber' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], ], 'GetUserIdByUserExternalId' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/_/actions/getUserIdByExternalId', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'userExternalId' => [ 'type' => 'string', 'required' => true, ], 'userSourceType' => [ 'type' => 'string', 'required' => true, ], 'userSourceId' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], ], 'GetUserIdByUsername' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/_/actions/getUserIdByUsername', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'username' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], ], 'SetUserPrimaryOrganizationalUnit' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}/actions/setUserPrimaryOrganizationalUnit', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'organizationalUnitId' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], ], 'AddUserToOrganizationalUnits' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}/actions/addUserToOrganizationalUnits', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'organizationalUnitIds' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], ], 'RemoveUserFromOrganizationalUnits' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}/actions/removeUserFromOrganizationalUnits', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'organizationalUnitIds' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], ], 'ListGroupsForUser' => [ 'path' => '/v2/{instanceId}/{applicationId}/users/{userId}/actions/listGroupsForUser', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'userId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], ], ], 'GetGroup' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups/{groupId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'groupId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'CreateGroup' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'groupName' => [ 'type' => 'string', 'required' => true, ], 'groupExternalId' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], 'PatchGroup' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups/{groupId}', 'methods' => [ 'patch', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'groupId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'groupName' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], 'DeleteGroup' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups/{groupId}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'groupId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ListGroups' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'groupNameStartWith', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], ], ], 'AddUsersToGroup' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups/{groupId}/actions/addUsersToGroup', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'groupId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'userIds' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], ], 'RemoveUsersFromGroup' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups/{groupId}/actions/removeUsersFromGroup', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'groupId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'userIds' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], ], ], 'ListUsersForGroup' => [ 'path' => '/v2/{instanceId}/{applicationId}/groups/{groupId}/actions/listUsersForGroup', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Authorization', 'in' => 'header', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'applicationId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'groupId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-hongkong', 'endpoint' => 'eiam-developerapi.cn-hongkong.aliyuncs.com', ], [ 'regionId' => 'ap-northeast-2', 'endpoint' => 'eiam-developerapi.ap-northeast-2.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'eiam-developerapi.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-5', 'endpoint' => 'eiam-developerapi.ap-southeast-5.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'eiam-developerapi.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'eu-central-1', 'endpoint' => 'eiam-developerapi.eu-central-1.aliyuncs.com', ], ], ];