POST Create an image in a content folder.
POST /services/data/{apiVersion}/connect/cms/contents
Operation ID: createImage.
Parameters
Authorization(header, string, required) A unique, time-limited token that you can use to issue requests to Connect API. ReplaceYOUR_ACCESS_TOKENwith your authentication token.Example
Bearer YOUR_ACCESS_TOKENapiVersion(path, string, required) The Salesforce API version, such asv68.0.
Request body (required)
Media type: application/json. Schema: ImageRequest.
Responses
- 201
The image content was created.
Media type:
application/json. Schema:ImageResponse. - 400
The request is invalid.
Media type:
application/json. Schema:Error. - 401
The access token is missing
Media type:
application/json. Schema:Error. - 403
You don't have permission to perform this action.
Media type:
application/json. Schema:Error.