Accept Workspace Invitation
POST/organizations/:org_id/workspaces/:workspace_id/invite/accept
Accept an invitation to a workspace.
Raises: HTTPException: description; status_code: 500 HTTPException: Invitation not found or has expired; status_code: 400 HTTPException: You already belong to this organization; status_code: 400
Returns: JSONResponse: Accepted invitation to workspace; status_code: 200
Request
Path Parameters
org_id Org Idrequired
workspace_id Workspace Idrequired
Query Parameters
project_id Project Idrequired
- application/json
 
Body
required
token Token (string)required
Responses
- 200
 - 422
 
Successful Response
- application/json
 
- Schema
 
Schema
any
Validation Error
- application/json
 
- Schema
 - Example (from schema)
 
Schema
Array [
Array [
- MOD1
 - MOD2
 ]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
  "detail": [
    {
      "loc": [
        "string",
        0
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
Loading...