code: public Integer delete(CMAContentType contentType) {
      final String spaceId = getSpaceIdOrThrow(contentType, "contentType");
      final String environmentId = contentType.getEnvironmentId();
      final String contentTypeId = getResourceIdOrThrow(contentType, "contentType");
  
      return service.delete(spaceId, environmentId, contentTypeId).blockingFirst().code();
    }
docs: Delete a Content Type.
  
  @param contentType Content Type
  @return Integer representing the result of the operation
  @throws IllegalArgumentException if spaceId is null.
  @throws IllegalArgumentException if contentTypeId is null.