---
title: "Add UMA resource scope"
method: POST
path: "/api/v1/uma/resources/{id}/scopes/{inum}"
---

# Add UMA resource scope

`POST /api/v1/uma/resources/{id}/scopes/{inum}`

add scope to uma resource

## Path parameters

- `id` string, required
- `inum` string, required

## Response `200`

Success

- UmaResource
  - `dn` string
  - `inum` string
  - `id` string
  - `name` string, required
  - `iconUri` string
  - `scopes` string[]
  - `scopeExpression` string
  - `clients` string[]
  - `resources` string[]
  - `rev` integer
  - `creator` string
  - `description` string
  - `type` string
  - `creationDate` string, date-time
  - `expirationDate` string, date-time
  - `deletable` boolean
  - `ttl` integer

## Other responses

- `500` — Server error

---

[API](https://skmtc.net/gluufederation/apis/oxtrust-api.md) · [All operations](https://skmtc.net/gluufederation/apis/oxtrust-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gluufederation/oxtrust-api/versions/283dde2d4ad4/schema)
