---
title: "Get the managed keys access level for a specific keyid"
method: GET
path: "/_api/key/{keyid}/database/{geofabric}/managedkey"
tags: ["API Keys"]
---

# Get the managed keys access level for a specific keyid

`GET /_api/key/{keyid}/database/{geofabric}/managedkey`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_api/key/:keyid/database/:geofabric/managedkey/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the list of managed keys access level for a specific *keyid*.

 If access level for a managed key is not set, then the default("&#42;") access level is used. If the default("&#42;") access level is also not set, then the GeoFabric access level is used.

## Path parameters

- `keyid` string, string, required
- `geofabric` string, string, required

## Query parameters

- `full` boolean

## Response `200`

Successfully fetched managed keys access level.

- ApiKeyDatabaseManagedkeyGetHttpExamplesRc200
  - `code` integer: HTTP response code.
  - `error` boolean, required: Flag if there is an error in the response. *False* for this response.
  - `result` object: Lists managed keys and the permissions assigned to that API key for each managed key.
    - `test1` string

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `401`: Failed to validate because you do not have access to the GeoFabric.
- `403`: Failed to validate because you do not have access to the server.
- `404`: Failed to find specified API key or GeoFabric.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
