🤖 Merge PR #65486 fix(auth0): enabled_connections added by @peterblazejewicz

Docs:
https://auth0.com/docs/api/management/beta/v2/create-an-organization

/cc @PrzemyslawChudzia

Fixes #65461
This commit is contained in:
Piotr Błażejewicz (Peter Blazejewicz)
2023-06-08 13:16:07 +02:00
committed by GitHub
parent 1e28536e05
commit d3301a62ce
2 changed files with 7 additions and 1 deletions

View File

@@ -1284,7 +1284,12 @@ management.organizations.getByName({ name: '' }).then((organization: auth0.Organ
/**
* Create an Organization using a callback
*/
management.organizations.create({ name: 'test_organization' }, (err, organization: auth0.Organization) => {
management.organizations.create({
name: 'test_organization', display_name: 'Test Organization', enabled_connections: [{
connection_id: 'connection-id',
assign_membership_on_login: true,
}]
}, (err, organization: auth0.Organization) => {
console.log({ organization });
});

View File

@@ -1255,6 +1255,7 @@ export interface CreateOrganization {
}
| undefined;
metadata?: any;
enabled_connections?: AddOrganizationEnabledConnection[] | undefined;
}
export interface UpdateOrganization {