---
title: "Sync the user's Snyk permissions on a Team"
method: POST
path: "/teams/{id}/snyk-permissions-sync/"
tags: ["Teams"]
---

# Sync the user's Snyk permissions on a Team

`POST /teams/{id}/snyk-permissions-sync/`

## Request

- Base URL: `https://api.probely.com`
- URL: `https://api.probely.com/teams/{id}/snyk-permissions-sync/`
- Auth: API key in header `Authorization`

Reads the user's role on the Snyk organization mapped to this Team (direct, inherited from its group, or a custom role resolved from effective permissions) and stores it as the user's role on the Team, for Snyk-managed accounts only. Any Snyk-mapped Team of the account can be synced, including one the user holds no role on yet. Runs synchronously so the resolved role is returned in the response; `role` is null when the user holds no role on the Team. Returns 409 with code `reauth_required` when the Snyk login token is missing, expired, or rejected by Snyk; the user must log in again. Returns 502 when Snyk cannot be read.

## Path parameters

- `id` string, required: A unique Base58 value identifying this object.

## Response `200`

- SnykTeamPermissionsSync: Response body of the Team Snyk permission sync action.
  - `role` string, nullable, required: Name of the role the user now holds on the Team, or null when they hold none.

## Other responses

- `400`
- `401`
- `403`
- `404`
- `409`
- `502`

## Changes

- **2026-11-03** `0b2f6cbe644d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/changes/teams/:id/snyk-permissions-sync/post.md)

---

[API](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation.md) - [All operations](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/revisions/0b2f6cbe644d?raw)
