---
title: "Registers permission."
method: POST
path: "/restv1/host/rsrc_pr"
tags: ["UMA (User Managed Access)"]
---

# Registers permission.

`POST /restv1/host/rsrc_pr`

Registers permission.

## Headers

- `Authorization` string, required

## Response `201`

OK

- object[] — List of Uma Permission.
  - `resource_id` string, required — The identifier for a resource to which this client is seeking access. The identifier MUST correspond to a resource that was previously registered.
  - `resource_scopes` string[], required — An array referencing zero or more strings representing scopes to which access was granted for this resource. Each string MUST correspond to a scope that was registered by this resource server for the referenced resource.
  - `params` object — A key/value map that can contain custom parameters.
  - `exp` integer — Number of seconds since January 1 1970 UTC, indicating when this token will expire.

## Other responses

- `500` — Invalid parameters provided to endpoint.

## Changes

- **2026-04-08** `e60fb909da19` — 1 info
  - endpoint added
- **2022-03-25** `d6fc0677410c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/janssenproject/apis/janssen-authorization-server/changes/restv1/host/rsrc_pr/post.md)

---

[API](https://skmtc.dev/janssenproject/apis/janssen-authorization-server.md) · [All operations](https://skmtc.dev/janssenproject/apis/janssen-authorization-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/janssenproject/janssen-authorization-server/revisions/2a44b59497de/schema)
