---
title: "Update UMA resource"
method: PUT
path: "/api/v1/uma/resources"
---

# Update UMA resource

`PUT /api/v1/uma/resources`

Update uma resource

## Request body

- 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

## 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/revisions/283dde2d4ad4/schema)
