---
title: "Check access"
method: POST
path: "/api/jobs/{namespace}/{jobId}/auth-check/{perms}"
tags: ["jobs"]
---

# Check access

`POST /api/jobs/{namespace}/{jobId}/auth-check/{perms}`

Check if the user has access to jobs in the namespace

## Path parameters

- `namespace` string, required
- `jobId` string, required
- `perms` 'read' | 'write', required

## Response `200`

The user has access to jobs in the namespace

- object
  - `namespace` object, required
    - `id` string, required
    - `name` string, required
  - `user` object, required
    - `id` string, required
    - `name` string, required

---

[API](https://skmtc.net/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.net/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/versions/6ab9f7d9cfb5/schema)
