---
title: "Grant Role"
method: POST
path: "/platform/roles"
---

# Grant Role

`POST /platform/roles`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/platform/roles`
- Auth: none declared

Grant a platform role to a signed-in USER. Only a user id is accepted — a machine token,
a producer or a token owner cannot hold a platform role (400 `human_only_role`).

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
