---
title: "Check authorization"
method: POST
path: "/v1/cwobject/auth/can-i"
tags: ["CWObject"]
---

# Check authorization

`POST /v1/cwobject/auth/can-i`

Checks whether the caller is allowed to perform a set of actions on a set of resources.

## Request body

- AuthCanIRequest — Inputs for an authorization check. Both fields are required.
  - `actions` string[] — The list of actions to check (for example, `cwobject:ListBucketInfo`).
  - `resources` string[] — The list of resources to check the actions against. Use `["*"]` to check against every resource.

## Response `200`

OK

- AuthCanIResponse — The verdict for an authorization check.
  - `verdict` boolean — `true` only if the caller is allowed to perform **every** requested action on **every** requested resource; `false` otherwise.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.dev/coreweave/apis/coreweave-telemetry-relay-api.md) · [All operations](https://skmtc.dev/coreweave/apis/coreweave-telemetry-relay-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coreweave/coreweave-telemetry-relay-api/revisions/3b98ea4fe0c3/schema)
