The POST /environments/{environmentId}/images endpoint associates the identified image file with the specified environment resource.