---
title: Instance
description: Resource path:
component: pingam
version: 8.1
page_id: pingam:entity-reference:sec-amster-entity-instance
canonical_url: https://docs.pingidentity.com/pingam/8.1/entity-reference/sec-amster-entity-instance.html
section_ids:
  sec-amster-entity-instance-realm-ops: Realm Operations
  sec-amster-entity-instance-realm-ops-create: create
  sec-amster-entity-instance-realm-ops-delete: delete
  sec-amster-entity-instance-realm-ops-getalltypes: getAllTypes
  sec-amster-entity-instance-realm-ops-getcreatabletypes: getCreatableTypes
  sec-amster-entity-instance-realm-ops-nextdescendents: nextdescendents
  sec-amster-entity-instance-realm-ops-query: query
  sec-amster-entity-instance-realm-ops-read: read
  sec-amster-entity-instance-realm-ops-update: update
---

# Instance

## Realm Operations

Resource path:

```
/realm-config/services/oauth-oidc/scriptedJwtIssuers
```

Resource version: `0.0`

### create

**Usage**

```
am> create Instance --realm Realm --id id --body body
```

**Parameters**

* *\--id*

  The unique identifier for the resource.

* *\--body*

  The resource in JSON format, described by the following JSON schema:

  ```json
  {
    "type" : "object",
    "properties" : {
      "script" : {
        "title" : "Script",
        "description" : "The identifier of the script that will be used to obtain JWT issuers.",
        "propertyOrder" : 10,
        "required" : true,
        "type" : "string",
        "exampleValue" : ""
      }
    }
  }
  ```

### delete

**Usage**

```
am> delete Instance --realm Realm --id id
```

**Parameters**

* *\--id*

  The unique identifier for the resource.

### getAllTypes

Obtain the collection of all secondary configuration types related to the resource.

**Usage**

```
am> action Instance --realm Realm --actionName getAllTypes
```

### getCreatableTypes

Obtain the collection of secondary configuration types that have yet to be added to the resource.

**Usage**

```
am> action Instance --realm Realm --actionName getCreatableTypes
```

### nextdescendents

Obtain the collection of secondary configuration instances that have been added to the resource.

**Usage**

```
am> action Instance --realm Realm --actionName nextdescendents
```

### query

Get the full list of instances of this collection. This query only supports `_queryFilter=true` filter.

**Usage**

```
am> query Instance --realm Realm --filter filter
```

**Parameters**

* *\--filter*

  A CREST formatted query filter, where "true" will query all.

### read

**Usage**

```
am> read Instance --realm Realm --id id
```

**Parameters**

* *\--id*

  The unique identifier for the resource.

### update

**Usage**

```
am> update Instance --realm Realm --id id --body body
```

**Parameters**

* *\--id*

  The unique identifier for the resource.

* *\--body*

  The resource in JSON format, described by the following JSON schema:

  ```json
  {
    "type" : "object",
    "properties" : {
      "script" : {
        "title" : "Script",
        "description" : "The identifier of the script that will be used to obtain JWT issuers.",
        "propertyOrder" : 10,
        "required" : true,
        "type" : "string",
        "exampleValue" : ""
      }
    }
  }
  ```
