curl --request PATCH \
--url https://app2.freyavoice.ai/api/v2/workspaces/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"member": {
"userId": "<string>",
"role": "<string>",
"joinedAt": "<string>",
"displayName": "<string>",
"username": "<string>",
"email": "<string>",
"avatarUrl": "<string>"
}
}
}
}Updates the authenticated user’s display name in the workspace.
curl --request PATCH \
--url https://app2.freyavoice.ai/api/v2/workspaces/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"displayName": "<string>"
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"member": {
"userId": "<string>",
"role": "<string>",
"joinedAt": "<string>",
"displayName": "<string>",
"username": "<string>",
"email": "<string>",
"avatarUrl": "<string>"
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.