Preset categories
Share a category with a group
Shares all presets in the category with the given group. The user must already belong to the group and must have write access to the category.
Presets that the user does not have write access to are skipped and not shared, but the operation still succeeds for the presets the user can share. The response includes counts of how many presets were shared, how many were already shared, and which preset codes were skipped due to insufficient access.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Path Parameters
category_id*string
group_name*string
Response Body
application/json
application/json
curl -X POST "https://v2.api.piktid.com/preset/categories/string/share/string"{
"shared_count": 0,
"already_shared_count": 0,
"skipped_preset_codes": [
"string"
]
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty
Empty