Invitation Management
Update Workspace Domain
API Documentation
Auth API
- OAuth
- Magic Link
- Password
- POSTUser Authenticate
- GETGet User Information
- POSTRefresh Token
Management API
- User
- Workspace
- Workspace Management
- Member Management
- Invitation Management
Invitation Management
Update Workspace Domain
Update the domain of a workspace
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
This is the ID of the user group.
Body
Email domain string of array.
{
"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
}
Was this page helpful?
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
}