Authorization: Bearer ********************
{
"scope": [
"read:orders",
"create:orders"
]
}
curl --location -g --request PATCH 'https://..authok.cn/api/v1/client-grants/' \
--header 'Content-Type: application/json' \
--data-raw '{
"scope": [
"read:orders",
"create:orders"
]
}'
{
"id": "cgr_32jofje9982j33",
"client_id": "0VE7AnxrbQyR-QnK-F9zBK9SS5RIFHSS",
"audience": "https://order.mydomain/api/v1/",
"scope": [
"read:orders",
"create:orders"
]
}