curl --location --request POST '/workspace-codes/redeem' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "string"
}'{
"redeemed": true,
"workspaceCodeId": "string",
"role": "owner",
"metadata": {
"property1": "string",
"property2": "string"
}
}