Admin
Assign writer and support agent to article (Admin)
Admin endpoint to assign or update the writer and support agent roles for an article.
patch/admin/articles/{article_id}/assign-roles
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/articles/{article_id}/assign-roles
- Auth: HTTP bearer
Path parameters
article_idstring uuid required
Example:0cb664e6-3793-4af2-9e5e-c2154560e63e
Request body
Example request
{
"writer_id": "85e644be-5806-42c7-b2b4-0c025e2259f9",
"support_agent_id": "ba2d7c22-ec99-4121-988f-0b907e288653"
}Response
Article roles assigned successfully
Example response
{
"name": "Stabilis amplus auctor advenio velum umerus cuius.",
"publish_status": "UNPUBLISH"
}Changes
No recorded changes to this operation across all 2 revisions of this API.