---
title: "Get deployment obligation profiles"
url: https://hexelstudio.com/docs/api/titan/management/get-deployment-obligation-profiles
---

# Get deployment obligation profiles

**GET** `/titan/management/deployments/{id}/obligation-profiles`

## Path parameters

- `id: string`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

## Returns

`200` Organization-scoped result. (`ObligationProfilesView`)

- `deployment_id: string`

- `enforcement_deployment_id: string`

- `profiles: array of object`

  - `kind: string`

  - `profile_digest: string`

  - `profile_id: string`

  - `profile_version: integer`

  - `referenced: boolean`

  - `remove_paths: array of string`

## Errors

- `400` Invalid request or path; OBLIGATION_PROFILES_INVALID when a profile does not match the closed response_filter schema (kind, profile_id, profile_version 1-2147483647, 1-64 sorted unique JSON Pointer remove_paths) or the profiles are not sorted by profile_id and then profile_version without repeats.
- `401` Missing or invalid authenticated context.
- `403` Organization mismatch or denied IAM action.
- `404` Unknown or foreign organization resource, or plan not yet prepared.
- `405` HTTP method is not supported on this route.
- `409` OBLIGATION_PROFILE_IN_USE when the replacement removes or changes a profile the policy in force references; the deployment is not a provisioned shared-plane or Titan Dedicated deployment (DEPLOYMENT_NOT_PROVISIONED), is retired (DEPLOYMENT_RETIRED) or has an operation in progress (OPERATION_IN_PROGRESS).
- `503` Local storage or preparation service unavailable.

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/management/deployments/{id}/obligation-profiles' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "deployment_id": "string",
  "enforcement_deployment_id": "string",
  "profiles": [
    {
      "kind": "string",
      "profile_digest": "string",
      "profile_id": "string",
      "profile_version": 0,
      "referenced": true,
      "remove_paths": [
        "string"
      ]
    }
  ]
}
```

### Response (400)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (401)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (403)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (404)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (405)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (409)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (503)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```
