Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.3 KB

File metadata and controls

48 lines (34 loc) · 1.3 KB
page_title Resource: okta_oauth2_v1_clients_role_org_admin
description The Client Role Assignments APIs allow you to assign roles and designate third-party admin status to public client apps.

Resource: okta_oauth2_v1_clients_role_org_admin

The Client Role Assignments APIs allow you to assign roles and designate third-party admin status to public client apps.

Example Usage

resource "okta_oauth2_v1_clients_role_org_admin" "example" {
  client_id = "<client_id>"
  type      = "ORG_ADMIN"
}

Schema

Required

  • client_id (String) client_id of the app
  • type (String) Discriminator field identifying the variant type. Must be set to "ORG_ADMIN".

Optional

  • assignment_type (String) Role assignment type
  • resource_set (String) Resource set ID
  • role (String) Role ID
  • status (String) Status of the role assignment

Read-Only

  • created (String) Timestamp when the object was created
  • id (String) The unique identifier for the resource.
  • label (String) Label for the role assignment
  • last_updated (String) Timestamp when the object was last updated

Import

Import is supported using the following syntax:

terraform import okta_oauth2_v1_clients_role_org_admin.example <client_id>/<id>