curl --location 'https://api.aworld.cloud/app/v1/workspace-codes/redeem' \
--header 'x-external-user-id;' \
--header 'x-user-id;' \
--header 'Content-Type: application/json' \
--data '{
"code": "string"
}'{
"redeemed": true,
"workspaceCodeId": "string",
"role": "owner",
"metadata": {
"property1": "string",
"property2": "string"
}
}