Removes a subject from a gallery.

remove_subject(subject_id, gallery)

Arguments

subject_id

The subject id for the subject to be removed.

gallery

The name of the gallery in which the subject is enrolled.

Value

nothing.

Examples

#> Succesfully initialized authentification credentials.
# enroll finn_image <- 'https://upload.wikimedia.org/wikipedia/en/2/2a/Finn-Force_Awakens_%282015%29.png' finn_enroll <- enroll(image = finn_image, subject_id = 'finn', gallery = 'starwars')
#> Error: API did not return json
# remove subject remove_subject(subject_id = 'finn', gallery = 'starwars')
#> Error: lexical error: invalid char in json text. #> Authentication failed #> (right here) ------^