Class CreateRoleRequestContent
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record CreateRoleRequestContent : IEquatable<CreateRoleRequestContent>
- Inheritance
-
CreateRoleRequestContent
- Implements
- Inherited Members
- Extension Methods
Properties
Description
Description of the role.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
Name
Name of the role.
[JsonPropertyName("name")]
public required string Name { get; set; }
Property Value
OwnerId
The ID of the organization that owns this role. Required when type is "organization".
[JsonPropertyName("owner_id")]
public string? OwnerId { get; set; }
Property Value
Type
The type of the role. Defaults to tenant.
[JsonPropertyName("type")]
public RoleTypeEnum? Type { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.