Add Admins
Add Moderators API allows assigning a user as a moderator to manage content and maintain community guidelines within the platform.
URL : /api/thirdparty/community/add_moderators
Method : POST
Auth required : YES
Note : You need to Authorize gn-access-token as Bearer Token
to run the API.
Request Body
Success Response
Condition: If Everything is okay and moderator is added.
Code: 200
Content
Note: In the moderators_added
array, each object includes a member_id
, which uniquely identifies the added moderators.
Bad Request
Condition: If the request contains errors or invalid data, resulting in video not posted.
Code: 400
Content
Not Found
Condition: The API returns a not found response if the specified moderator or community does not exist.
Code: 404
Content
Precondition Failed
Condition:
Code: 412
Content
Was this page helpful?