Creating new category and setup permission in ONE API POST call possible?

Creating new category and setup permission in ONE API POST call possible?
Or there should be follow up up PUT call to set up permissions,

Looked into API reverse engineering topic and try to set the call to follow the POST call made when category (browser payload: payload = {“name”:“workspaces1”,“color”:“0088CC”,“text_color”:“FFFFFF”,“permissions”:{“everyone”:1},“allow_badges”:true,“category_setting_attributes”:{},“custom_fields”:{},“form_template_ids”:,“required_tag_groups”:,“topic_featured_link_allowed”:true,“search_priority”:0})
when created categories manually and also this discourse_api/lib/discourse_api/api/categories.rb at d5ea30ba4abe6dcd90fb5a9f432c548dea9eaa0c · discourse/discourse_api · GitHub

the post call with


CATEGORY_CREATION_ENDPOINT = f"{DISCOURSE_API_URL}/categories.json"


data = {
    "name": "workspace5",
    "color": "0088CC",
    "text_color": "FFFFFF"
}

response = requests.post(CATEGORY_CREATION_ENDPOINT, headers=headers, data=data)

is successful,

while the POST call with permissions is returning 500 error

CATEGORY_CREATION_ENDPOINT = f"{DISCOURSE_API_URL}/categories.json"


data = {
    "name": "workspace5",
    "color": "0088CC",
    "text_color": "FFFFFF",
    "permissions": {"admins": "1"}
}

response = requests.post(CATEGORY_CREATION_ENDPOINT, headers=headers, data=data)

this gives 500 error