Teams

Set team permissions

Replace the full set of permissions for a team. Accepts organization-level permissions (organizationPerms), repository-level permissions (repoPerms applied to repositoryIds or universally), and team self-management permissions (teamPerms). Any previously set permissions not included in the request are removed.

post/api/v2/teams/setPermissions

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring
idstring required
organizationPermsstring[]
repoPermsstring[]
teamPermsstring[]
repositoryIdsstring[]
tagIdsstring[]
universalRepoPermissionsboolean

Response

Successful response

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.