---
title: Scripting
description: Resource path:
component: pingam
version: 8.1
page_id: pingam:entity-reference:sec-amster-entity-scripting
canonical_url: https://docs.pingidentity.com/pingam/8.1/entity-reference/sec-amster-entity-scripting.html
section_ids:
  sec-amster-entity-scripting-global-ops: Global Operations
  sec-amster-entity-scripting-global-ops-getalltypes: getAllTypes
  sec-amster-entity-scripting-global-ops-getcreatabletypes: getCreatableTypes
  sec-amster-entity-scripting-global-ops-nextdescendents: nextdescendents
  sec-amster-entity-scripting-global-ops-read: read
  sec-amster-entity-scripting-global-ops-update: update
---

# Scripting

## Global Operations

Resource path:

```
/global-config/services/scripting
```

Resource version: `1.0`

### getAllTypes

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

**Usage**

```
am> action Scripting --global --actionName getAllTypes
```

### getCreatableTypes

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

**Usage**

```
am> action Scripting --global --actionName getCreatableTypes
```

### nextdescendents

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

**Usage**

```
am> action Scripting --global --actionName nextdescendents
```

### read

**Usage**

```
am> read Scripting --global
```

### update

**Usage**

```
am> update Scripting --global --body body
```

**Parameters**

* *\--body*

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

  ```json
  {
    "type" : "object",
    "properties" : {
      "defaultContext" : {
        "title" : "Default Script Type",
        "description" : "The default script context type when creating a new script.",
        "propertyOrder" : 900,
        "required" : true,
        "type" : "string",
        "exampleValue" : ""
      }
    }
  }
  ```
