---
title: "POST /authz/"
method: POST
path: "/v1/authz/"
---

# POST /authz/

`POST /v1/authz/`

Check user access for a resource

## Request body

- object
  - `username` string, required — username
  - `resource` object, required — resource to check
    - `provider` string — 'aws' or 'gce'. Required for gce
    - `hostname` string — One of hostname, aws_instance_id, or gce_instance_id is required
    - `aws_instance_id` string
    - `aws_region_id` string — Required for recently created instances
    - `gce_instance_id` string — gce support is in beta. Please contact us to enable support.
    - `gce_zone` string
    - `gce_project_id` string
    - `gce_networks` string[]
    - `gce_network_tags` string[]

## Response `200`

200

## Other responses

- `400` — 400

---

[API](https://skmtc.net/foxpass/apis/api-instructions.md) · [All operations](https://skmtc.net/foxpass/apis/api-instructions/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/foxpass/api-instructions/versions/d0d15848629a/schema)
