View Source ExOpenAI.Components.PublicCreateOrganizationRoleBody (ex_openai.ex v2.0.0-beta2)

Request payload for creating a custom role.

Fields

  • :description - optional - String.t() | any()
    Optional description of the role.

  • :permissions - required - [String.t()]
    Permissions to grant to the role.

  • :role_name - required - String.t()
    Unique name for the role.

Summary

Types

@type t() :: %ExOpenAI.Components.PublicCreateOrganizationRoleBody{
  description: (String.t() | any()) | nil,
  permissions: [String.t()],
  role_name: String.t()
}