Search...
Menu

Set group content permissions

Download

Set article permissions for a specific group

Request method Request address
POST https://api.helplook.net/api/auth-access/set-group-content-auth
Content-Type application/json
body type: application/json
Parameter name type Required illustrate
auth_group_id

int

yes Group ID
is_all

int

no Permission range: 1 - Full permissions; 0 - Partial permissions (default).
content_ids

array[]

no
When specifying partial permissions, the specific article ID
Example body: application/json
 {
    "auth_group_id": 89,
    "is_all":0,
    "content_ids": [
       1,2,3
    ]
}

CURL example:

 curl --location --request POST 'https://api.helplook.net/api/auth-access/set-group-content-auth' \
--header 'x-api-key: {Helplook token}' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Connection: keep-alive' \
--data-raw '{
    "auth_group_id": 89,
    "is_all":0,
    "content_ids": [
       1,2,3
    ]
}'

response:

 {
    "data": {},
    "msg": "Success",
    "code": 200
}
Last modified: 2026-11-05Powered by