Using the following APIs in the confluence Cloud API, I want to grant group permissions.
API: /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}
But if the group name contains spaces. e.g. test group.
The space is a problem and the API URL is invalid.
Example: /wiki/rest/api/~/group/test group
Is there any way to escape this?
There is also a method to specify the group ID, but in order to obtain the group ID, it is necessary to specify the group name in the same way, which requires escaping.