Teams

Sync the user's Snyk permissions on a Team

Changed on

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.

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

Path parameters

idstring required

A unique Base58 value identifying this object.

Response

rolestring nullable required

Name of the role the user now holds on the Team, or null when they hold none.

Changes