User

An IAM user in Oracle Cloud Infrastructure.

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Properties

Name Type Description
id string The OCID of the user.
compartmentId string The OCID of the tenancy.
name string The name of the user.
description string The description of the user.
email string The email address.
lifecycleState string
isMfaActivated boolean Whether MFA is activated.
timeCreated string
View JSON Schema on GitHub

JSON Schema

oracle-cloud-user-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/User",
  "title": "User",
  "type": "object",
  "description": "An IAM user in Oracle Cloud Infrastructure.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The OCID of the user.",
      "example": "ocid1.user.oc1..abcdefg123456"
    },
    "compartmentId": {
      "type": "string",
      "description": "The OCID of the tenancy.",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "name": {
      "type": "string",
      "description": "The name of the user.",
      "example": "[email protected]"
    },
    "description": {
      "type": "string",
      "description": "The description of the user.",
      "example": "John Smith"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The email address.",
      "example": "[email protected]"
    },
    "lifecycleState": {
      "type": "string",
      "enum": [
        "CREATING",
        "ACTIVE",
        "INACTIVE",
        "DELETING",
        "DELETED"
      ],
      "example": "CREATING"
    },
    "isMfaActivated": {
      "type": "boolean",
      "description": "Whether MFA is activated.",
      "example": true
    },
    "timeCreated": {
      "type": "string",
      "format": "date-time",
      "example": "2026-04-18T10:30:00Z"
    }
  }
}