Auth0.Management.Organizations (Auth0Api v1.4.0) View Source

Documentation for Auth0 Management API of Organizations.

endpoint

  • /api/v2/organizations
  • /api/v2/organizations/{id}
  • /api/v2/organizations/name/{name}
  • /api/v2/organizations/{id}/enabled_connections
  • /api/v2/organizations/{id}/enabled_connections/{connectionId}
  • /api/v2/organizations/{id}/invitations
  • /api/v2/organizations/{id}/invitations/{invitation_id}
  • /api/v2/organizations/{id}/members

Link to this section Summary

Functions

Add connections to an organization.

Add members to an organization.

Add members to an organization.

Create an Organization.

Create invitations to organization.

Delete organization.

Delete connections from an organization.

Delete an invitation to organization.

Delete members from an organization.

Delete members from an organization.

Get organization.

Get organization by name.

Get an enabled connection for an organization.

Get an invitation to organization.

Get organizations.

Get connections enabled for an organization.

Get invitations to organization.

Get members who belong to an organization.

Get the roles assigned to an organization member.

Modify an Organization.

Modify an Organizations Connection.

Link to this section Types

Specs

config() :: Auth0.Config.t()

Specs

connection_id() :: String.t()

Specs

error() :: {:error, integer(), term()} | {:error, term()}

Specs

id() :: String.t()

Specs

invitation_id() :: String.t()

Specs

name() :: String.t()

Specs

response_body() :: String.t()

Specs

user_id() :: String.t()

Link to this section Functions

Link to this function

add_connection(id, params, config)

View Source

Specs

Add connections to an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/post_enabled_connections

Link to this function

add_members(id, params, config)

View Source

Specs

Add members to an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/post_members

Link to this function

assign_roles(id, user_id, params, config)

View Source

Specs

Add members to an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/post_members

Specs

Create an Organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/post_organizations

Link to this function

create_invitation(id, params, config)

View Source

Specs

Create invitations to organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/post_invitations

Specs

delete(id(), config()) :: {:ok, String.t(), response_body()} | error()

Delete organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/delete_organizations_by_id

Link to this function

delete_connection(id, connection_id, config)

View Source

Specs

delete_connection(id(), connection_id(), config()) ::
  {:ok, String.t(), response_body()} | error()

Delete connections from an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/delete_enabled_connections_by_connectionId

Link to this function

delete_invitation(id, invitation_id, config)

View Source

Specs

delete_invitation(id(), invitation_id(), config()) ::
  {:ok, String.t(), response_body()} | error()

Delete an invitation to organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/delete_invitations_by_invitation_id

Link to this function

delete_members(id, params, config)

View Source

Specs

Delete members from an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/delete_members

Link to this function

delete_roles(id, user_id, params, config)

View Source

Specs

Delete members from an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/delete_members

Specs

Get organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_organizations_by_id

Link to this function

get_by_name(name, config)

View Source

Specs

get_by_name(name(), config()) ::
  {:ok, Auth0.Entity.Organization.t(), response_body()} | error()

Get organization by name.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_name_by_name

Link to this function

get_connection(id, connection_id, config)

View Source

Specs

get_connection(id(), connection_id(), config()) ::
  {:ok, Auth0.Entity.EnabledConnection.t(), response_body()} | error()

Get an enabled connection for an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_enabled_connections_by_connectionId

Link to this function

get_invitation(id, invitation_id, params, config)

View Source

Specs

Get an invitation to organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_invitations_by_invitation_id

Specs

Get organizations.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_organizations

Link to this function

list_connections(id, params, config)

View Source

Specs

Get connections enabled for an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_enabled_connections

Link to this function

list_invitations(id, params, config)

View Source

Specs

Get invitations to organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_invitations

Link to this function

list_members(id, params, config)

View Source

Specs

Get members who belong to an organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_members

Link to this function

list_roles(id, user_id, params, config)

View Source

Specs

Get the roles assigned to an organization member.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/get_organization_member_roles

Link to this function

modify(id, params, config)

View Source

Specs

Modify an Organization.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/patch_organizations_by_id

Link to this function

modify_connection(id, connection_id, params, config)

View Source

Specs

Modify an Organizations Connection.

see

https://auth0.com/docs/api/management/v2/#!/Organizations/patch_enabled_connections_by_connectionId