Validate options passed into api-request command