DELETE/v1/permission/{permission}/team/{uuid}

Remove a permission from a team

Removes a permission from a team. Supply the team UUID in uuid and the permission to remove in permission. The authenticated user must have ACCESS_MANAGEMENT or ACCESS_MANAGEMENT_DELETE permission.

2 parameters
uuidstringrequired
The team's UUID, in UUID format.
permissionstringrequired
The valid permission to remove from the team.

4 status codes
200Returns the updated team object, including its team details and permissions.
apiKeysarray<object>optional
ldapUsersarray<object>optional
managedUsersarray<object>optional
mappedLdapGroupsarray<object>optional
mappedOidcGroupsarray<object>optional
namestringrequired
oidcUsersarray<object>optional
permissionsarray<object>optional
serviceAccountsarray<object>optional
uuidstringrequired
304Returned when the team already has the specified permission assigned.
401Returned when the authenticated user is unauthorized to remove the permission.
404Returned when the team could not be found.

Error handling

A 401 is returned when the authenticated user lacks ACCESS_MANAGEMENT or ACCESS_MANAGEMENT_DELETE. A 404 is returned when the uuid path parameter does not identify an existing team. The permission path parameter must name a valid permission.