# Create and manage software deployments

> Manage software deployments using the Software Deployments API.

## Overview

A software deployment creates an assignment between a software title and a target group (a role or a device), linking what software gets delivered to who or what receives it.

### Available endpoints

| Endpoint | Description |
| --- | --- |
| [GET List software deployments](https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments) | Lists deployments. |
| [POST Create a new software deployment](https://developer.rippling.com/documentation/rest-api/reference/create-software-deployments) | Creates a deployment. `software_id` is required. |
| [GET Retrieve a specific software deployment](https://developer.rippling.com/documentation/rest-api/reference/get-software-deployments) | Retrieves one deployment by `id`. |
| [PATCH Update a software deployment](https://developer.rippling.com/documentation/rest-api/reference/update-software-deployments) | Updates only the fields you send. No field is required. |
| [DELETE Delete a software deployment](https://developer.rippling.com/documentation/rest-api/reference/delete-software-deployments) | Deletes a deployment. |

### Suggested workflow

1.  If no existing software deployments exist, trigger your first deployment in the Rippling UI by going to **IT** > **Devices** > **Software** > **Software libraries**. Find the app in the catalog, click **Deploy**, select **Specific people** (for role/group) or **Specific devices** (for device group), and click **Save and deploy**.
2.  [List existing software deployments](https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments) with `expand=software` to see current assignments and software names.
3.  [Retrieve a deployment](https://developer.rippling.com/documentation/rest-api/reference/get-software-deployments) when you already have the `id`.
4.  Obtain the required identifiers to create a new software deployment:
    -   `software_id`: Copy `sfm_software_id` from the Rippling UI (**Devices** > **Software** > **Software libraries**), use the ID of a custom app created in Rippling, or retrieve the ID from an existing deployment using [GET List software deployments](https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments) with `expand=software`.
    -   `group_id`: Fetch role group IDs using [GET List supergroups](https://developer.rippling.com/documentation/rest-api/reference/list-supergroups).
    -   `ma_device_group_id`: If a device deployment already exists (step 1), call [GET List software deployments](https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments) and copy `ma_device_group_id` where `active_group_type` is `Device`.
5.  [Create a deployment](https://developer.rippling.com/documentation/rest-api/reference/create-software-deployments) with `software_id` and either role targeting or device targeting.
6.  [Update a deployment](https://developer.rippling.com/documentation/rest-api/reference/update-software-deployments) when the software title or target group changes.
7.  [Delete a deployment](https://developer.rippling.com/documentation/rest-api/reference/delete-software-deployments) to remove the assignment.

* * *

## Requirements

-   The Rippling API SKU
-   The Device Management subscription
-   An API token with the following scopes:
    -   `software-deployments.read` to fetch deployments
    -   `software-deployments.read-write` to create/update/delete deployments
    -   `supergroups.read` if fetching available role group IDs

* * *

## Fetch

Use [GET List software deployments](https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments) to return a paginated list of software deployments. Pass `expand=software` to return full metadata for the software title.

_Request:_

```json
curl -L -X GET 'https://rest.ripplingapis.com/software-deployments/?expand=software/' 
-H 'Accept: application/json' 
-H 'Authorization: Bearer REDACTED'
```

_Response:_

```json
{
  "results": [
    {
      "id": "66b26001a91aca1dfb199301",
      "created_at": "2026-05-27T16:00:00.000000+00:00",
      "updated_at": "2026-05-27T16:00:00.000000+00:00",
      "software_id": "66b2512c4ad1db34abae1e80",
      "software": {
        "id": "66b2512c4ad1db34abae1e80",
        "created_at": "2026-05-01T16:00:00.000000+00:00",
        "updated_at": "2026-05-01T16:00:00.000000+00:00",
        "name": "Slack",
        "display_name": "Slack",
        "icon_url": "https://example.com/icons/slack.png",
        "description": "Team messaging",
        "category": "Communication",
        "scope": "STANDARD",
        "available_platforms": ["MACOS", "WINDOWS"]
      },
      "ma_device_group_id": null,
      "group_id": "66b2512c4ad1db34abae1e90",
      "active_group_type": "Role",
      "is_report_syncing_in_progress": false
    }
  ],
  "next_link": null
}
```

| Response field | Description |
| --- | --- |
| `id` | Deployment identifier. |
| `created_at` | When the deployment was created. |
| `updated_at` | When the deployment was last updated. |
| `software_id` | Identifier of the software title to deploy. |
| `software` | Name, icon, and metadata for that title. |
| `software.name` | Name of the software. |
| `software.display_name` | Custom display name. |
| `software.icon_url` | URL for the software icon. |
| `software.description` | Description of the software. |
| `software.category` | Category of the software. |
| `software.scope` | Scope of the software (`PUBLIC`, `CUSTOM`, or `INTERNAL`). |
| `software.available_platforms` | Platforms the software is available on, such as macOS or Windows. |
| `active_group_type` | `Role` or `Device`. |
| `group_id` | Role group. Set when `active_group_type` is `Role`. Null when targeting is `Device`. |
| `ma_device_group_id` | Device group. Set when `active_group_type` is `Device`. Null when targeting is `Role`. |
| `is_report_syncing_in_progress` | `true` while installation report syncing is in progress. Deployment status may be temporarily inconsistent. |

* * *

## Create

Use [POST Create a new software deployment](https://developer.rippling.com/documentation/rest-api/reference/create-software-deployments) to create a new software deployment. You can target (assign) the deployment to either a role or device.

| Request body field | Required | Description |
| --- | --- | --- |
| `software_id` | Yes | Identifier of the software title to deploy. Copy `sfm_software_id` from the Rippling UI, use the ID of a custom app, or fetch from an existing deployment using [GET List software deployments](https://developer.rippling.com/documentation/rest-api/reference/list-software-deployments). |
| `active_group_type` | No | Target group type. Must be either `'Role'` or `'Device'`. |
| `group_id` | No | Role group identifier. Set when `active_group_type` is `'Role'`. Fetch using [GET List supergroups](https://developer.rippling.com/documentation/rest-api/reference/list-supergroups). |
| `ma_device_group_id` | No | Device group identifier. Set when `active_group_type` is `Device`. |

> **Note:**
> A company can only have one active deployment per `software_id`, and posting to an existing `software_id` returns a `400` error. Delete an existing deployment using [DELETE Delete a software deployment](https://developer.rippling.com/documentation/rest-api/reference/delete-software-deployments) if you need to recreate it.

### Target a role

_Request:_

```json
curl -L -X POST 'https://rest.ripplingapis.com/software-deployments/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Request body:_

```json
{
  "software_id": "66b2512c4ad1db34abae1e80",
  "active_group_type": "Role",
  "group_id": "66b2512c4ad1db34abae1e90",
  "ma_device_group_id": null
}
```

_Response:_

```json
{
  "id": "66b26001a91aca1dfb199301",
  "created_at": "2026-05-27T16:00:00.000000+00:00",
  "updated_at": "2026-05-27T16:00:00.000000+00:00",
  "software_id": "66b2512c4ad1db34abae1e80",
  "software": null,
  "ma_device_group_id": null,
  "group_id": "66b2512c4ad1db34abae1e90",
  "active_group_type": "Role",
  "is_report_syncing_in_progress": false
}
```

### Target a device

_Request body:_

```json
{
  "software_id": "66b2512c4ad1db34abae1e80",
  "active_group_type": "Device",
  "ma_device_group_id": "66b2512c4ad1db34abae1e91",
  "group_id": null
}
```

* * *

## Update

Use [PATCH Update a software deployment](https://developer.rippling.com/documentation/rest-api/reference/update-software-deployments) to modify an existing software deployment. All body fields are optional, and send only the fields you are changing.

_Request:_

```json
curl -L -X PATCH 'https://rest.ripplingapis.com/software-deployments/66b26001a91aca1dfb199301/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Request body:_

```json
{
  "group_id": "66b2512c4ad1db34abae1e99"
}
```

_Response:_

```json
{
  "id": "66b26001a91aca1dfb199301",
  "created_at": "2026-05-27T16:00:00.000000+00:00",
  "updated_at": "2026-06-02T18:15:00.000000+00:00",
  "software_id": "66b2512c4ad1db34abae1e80",
  "software": null,
  "ma_device_group_id": null,
  "group_id": "66b2512c4ad1db34abae1e99",
  "active_group_type": "Role",
  "is_report_syncing_in_progress": false
}
```

To switch from targeting a role to targeting a device:

_Request body:_

```json
{
  "active_group_type": "Device",
  "ma_device_group_id": "66b2512c4ad1db34abae1e91",
  "group_id": null
}
```

* * *

## Delete

Use [DELETE Delete a software deployment](https://developer.rippling.com/documentation/rest-api/reference/delete-software-deployments) to delete an assignment. Deleting a deployment will remove that assignment, but the software title remains.

_Request:_

```json
curl -L -X DELETE 'https://rest.ripplingapis.com/software-deployments/66b26001a91aca1dfb199301/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

A successful delete returns `200` and no body.

* * *

## See also

-   [Get started with the IT API](https://developer.rippling.com/documentation/rest-api/guides/it-getting-started)
-   [Overview of Rippling Device Management](https://help.rippling.com/article?articleId=78442964493)
-   [API tokens and permissions](https://developer.rippling.com/documentation/rest-api/essentials/api-tokens)

Source: https://developer.rippling.com/documentation/rest-api/guides/software-deployments

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
