code: public int delete(CMARole role) {
      final String id = getResourceIdOrThrow(role, "role");
      final String spaceId = getSpaceIdOrThrow(role, "role");
  
      final CMASystem sys = role.getSystem();
      role.setSystem(null);
  
      try {
        final Response<Void> response = service.delete(spaceId, id).blockingFirst();
        return response.code();
      } finally {
        role.setSystem(sys);
      }
    }
docs: Delete the given role instance.
  <p>
  Please make sure that the instance provided is fetched from Contentful. Otherwise you will
  get an exception thrown.
  
  @param role the role fetched from Contentful, updated by caller, to be deleted.
  @return the code of the response (204 means success).
  @throws IllegalArgumentException if space id is null.
  @throws IllegalArgumentException if role id is null.