---
title: "Check relations to resource"
method: GET
path: "/v1/permissions/has-relations/{resourceId}"
tags: ["Permission"]
---

# Check relations to resource

`GET /v1/permissions/has-relations/{resourceId}`

Check if the caller has any relations to a given resource.

## Response `200`

OK

- boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `404` — The requested resource not found
- `500` — Internal Server Error

---

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