Table of Contents

Class OrganizationCreateInvitationRequest

Namespace
Auth0.ManagementApi.Models
Assembly
Auth0.ManagementApi.dll

Requests structure for creating a new organization invitation.

public class OrganizationCreateInvitationRequest
Inheritance
OrganizationCreateInvitationRequest
Inherited Members

Properties

AppMetadata

Contains app meta data. The user has read/write access to this.

[JsonProperty("app_metadata")]
public dynamic AppMetadata { get; set; }

Property Value

dynamic

ClientId

Auth0 client ID. Used to resolve the application's login initiation endpoint.

[JsonProperty("client_id")]
public string ClientId { get; set; }

Property Value

string

ConnectionId

The id of the connection to force invitee to authenticate with.

[JsonProperty("connection_id")]
public string ConnectionId { get; set; }

Property Value

string

Invitee

Information about the person being invited

[JsonProperty("invitee")]
public OrganizationInvitationInvitee Invitee { get; set; }

Property Value

OrganizationInvitationInvitee

Inviter

Information about the person that is creating the invitation

[JsonProperty("inviter")]
public OrganizationInvitationInviter Inviter { get; set; }

Property Value

OrganizationInvitationInviter

Roles

List of role IDs to associated with the user.

[JsonProperty("roles")]
public IList<string> Roles { get; set; }

Property Value

IList<string>

SendInvitationEmail

Whether the user will receive an invitation email (true) or no email (false), true by default

[JsonProperty("send_invitation_email")]
public bool SendInvitationEmail { get; set; }

Property Value

bool

TimeToLive

Number of seconds for which the invitation is valid before expiration.

[JsonProperty("ttl_sec")]
public int TimeToLive { get; set; }

Property Value

int

Remarks

If unspecified or set to 0, this value defaults to 604800 seconds (7 days). Max value: 2592000 seconds (30 days).

UserMetadata

Contains user meta data. The user has read/write access to this.

[JsonProperty("user_metadata")]
public dynamic UserMetadata { get; set; }

Property Value

dynamic