---
title: "Grant a global permission to a user"
method: POST
path: "/project-permissions/{user_id}/{permission_id}"
tags: ["Permissions"]
---

# Grant a global permission to a user

`POST /project-permissions/{user_id}/{permission_id}`

Grant a global permission to a user (the permission must be created first on the Hexclave dashboard)

## Path parameters

- `user_id` string — The ID of the user, or the special value `me` for the currently authenticated user
- `permission_id` string — The permission ID used to uniquely identify a permission. Can either be a custom permission with lowercase letters, numbers, `:`, and `_` characters, or one of the system permissions: `$update_team`, `$delete_team`, `$read_members`, `$remove_members`, `$invite_members`, `$manage_api_keys`

## Request body

- object

## Response `201`

Successful response

- object
  - `id` string, required — The permission ID used to uniquely identify a permission. Can either be a custom permission with lowercase letters, numbers, `:`, and `_` characters, or one of the system permissions: `$update_team`, `$delete_team`, `$read_members`, `$remove_members`, `$invite_members`, `$manage_api_keys`
  - `user_id` string, required — The unique identifier of the user

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/versions/690014f63028/schema)
