Scalr\Api\Service\Account\V1beta0\Controller\Teams::deleteAction PHP Метод

deleteAction() публичный Метод

Delete an Account Team
public deleteAction ( integer $teamId ) : Scalr\Api\DataType\ResultEnvelope
$teamId integer Identifier of the Team
Результат Scalr\Api\DataType\ResultEnvelope
    public function deleteAction($teamId)
    {
        if (!$this->getUser()->canManageAcl()) {
            throw new ApiInsufficientPermissionsException();
        }
        $this->getTeam($teamId)->delete();
        return $this->result(null);
    }