curl --location --request GET '/workspace-codes/by-code/'{
"workspaceCodeId": "string",
"code": "string",
"workspaceId": "stringstri",
"accountId": "stringstri",
"role": "owner",
"redeemContext": "ANY",
"metadata": {
"property1": "string",
"property2": "string"
},
"policy": "LIMITED",
"maxUses": 1,
"usageCount": 0,
"status": "ACTIVE",
"expiresAt": "2019-08-24T14:15:22.123Z",
"createdBy": "string",
"actorType": "user",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}