public function deleteRoleDraft($roleId)
    {
        $this->roleService->deleteRoleDraft(
            $this->roleService->loadRoleDraft($roleId)
        );

        return new Values\NoContent();
    }
public function deleteRoleDraft($roleId)
    {
        $this->roleService->deleteRoleDraft(
            $this->roleService->loadRoleDraft($roleId)
        );

        return new Values\NoContent();
    }
public function deleteRoleDraft ( $ roleId ) { $ this -> roleService -> deleteRoleDraft ( $ this -> roleService -> loadRoleDraft ( $ roleId ) ) ; return new Values \ NoContent ( ) ; }
Delete a role draft by ID.

@since 6.2

@param $roleId

@return \eZ\Publish\Core\REST\Server\Values\NoContent
Delete a role draft by ID .