Channels
Set or clear a channel website URL
PUT
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
projectId*stringLength
1 <= lengthchannelId*stringLength
1 <= length- body
websiteUrl*|nullexpectedRevision?integerRange
1 <= valueResponse for status 200
application/json- response
channel*warning?string|nullcurl -X PUT 'https://postdot.example/api/projects/string/channels/string/website' \
-H 'Content-Type: application/json' \
-d '{
"websiteUrl": "string"
}'Example Response
{
"channel": {
"id": "string",
"name": "string",
"profileVersionId": "string",
"state": "active",
"archivedAt": -9007199254740991,
"websiteUrl": "string",
"imageUrl": "string",
"imageSource": "upload",
"executionMode": "automatic",
"revision": -9007199254740991,
"createdAt": -9007199254740991,
"updatedAt": -9007199254740991,
"projectId": "string",
"profileId": "string"
},
"warning": "string"
}