Step 2: Create Image
POST {{apiPath}}/environments/{{envID}}/images
The POST /environments/{{envID}}/images
endpoint associates the uploaded image file with the specified environment resource.
Note: The request body requires you to upload an image file, and then edit the Content-Disposition
header to match the file.
The request generates a userImage
resource that will be used by the request in step 3.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string | ||
content-disposition | string |