---
title: "Pin a dashboard"
method: PUT
path: "/internal/v1/dashboards/{project_id}/{dashboard_id}/pinned"
tags: ["Dashboards"]
---

# Pin a dashboard

`PUT /internal/v1/dashboards/{project_id}/{dashboard_id}/pinned`

## Request

- Base URL: `https://api.uptrace.dev`
- URL: `https://api.uptrace.dev/internal/v1/dashboards/{project_id}/{dashboard_id}/pinned`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `auth_token`
- TypeScript: <https://skmtc.dev/uptrace/apis/uptrace-json-api/docs/internal/v1/dashboards/:project_id/:dashboard_id/pinned/put.ts> (a function with typed inputs; its response is checked against the schema)

Pin dashboard to top of dashboard list.

## Path parameters

- `project_id` integer, required
- `dashboard_id` integer, required

## Response `200`

Dashboard pinned.

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Insufficient permissions
- `404`: Resource not found
- `500`: Internal server error

---

[API](https://skmtc.dev/uptrace/apis/uptrace-json-api.md) - [All operations](https://skmtc.dev/uptrace/apis/uptrace-json-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uptrace/apis/uptrace-json-api/revisions/550c8881ab9a?raw)
