---
title: "Create a scoped identity link"
method: POST
path: "/scoped-identity-links/{scopeId}/{scopeType}"
tags: ["Inspect"]
---

# Create a scoped identity link

`POST /scoped-identity-links/{scopeId}/{scopeType}`

## Request

- Base URL: `http://localhost:8090/inspect-api`
- URL: `http://localhost:8090/inspect-api/scoped-identity-links/{scopeId}/{scopeType}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/docs/scoped-identity-links/:scopeId/:scopeType/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `scopeId` string, required
- `scopeType` string, required

## Request body

- IdentityLinkCreateDTO
  - `userId` string
  - `groupId` string
  - `identityLinkType` string

## Response `200`

Indicates the identity link was created and the updated list is returned.

- IdentityLinkDTO[]
  - `userId` string
  - `userName` string
  - `groupId` string
  - `groupName` string
  - `identityLinkType` string

## Other responses

- `400`: Indicates invalid input.

---

[API](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/revisions/5c72eb80b6c5?raw)
