PUT
/
workspaces
/
{workspace_id}
/
allowed_domains
curl --request PUT \
  --url https://api.furo.one/workspaces/{workspace_id}/allowed_domains \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "allowed_domains": [
    {}
  ]
}'
{
  "workspace_id": "wid-f614c439-fee9-406a-a490-c2bfca814b12",
  "project_id": "dccc65c902eb168805b316e4a1c42e62",
  "name": "Updated Workspace",
  "invitation_url": "http://localhost:3000/invite?project_id=dccc65c902eb168805b316e4a1c42e62&workspace_id=wid-f614c439-fee9-406a-a490-c2bfca814b12",
  "logo_url": "http://res.cloudinary.com/dsllzosoi/image/upload/v1678698294/qbisqeixn82z1hngmo2e.webp",
  "owner_id": "76c6113c-9919-4bb0-9d12-58c118a571e6",
  "owner_email": "user1@furo.one",
  "created_at": "2023-03-15T04:33:13.949Z",
  "modified_at": "2023-03-15T05:13:59.429Z",
  "allowed_domains": ["furo.one", "hopae.io"],
  "description": "This is updated workspace",
  "total_member_count": 2
}

Path

workspace_id
string
required

This is the ID of the user group.

Body

allowed_domains
array
required

Email domain string of array.