Skip to content

Turn down joining by email domain

DELETE
/api/v1/join
curl --request DELETE \
--url http://localhost:3000/api/v1/join \
--header 'Authorization: Bearer <token>'

Not now: the offer isn’t made again.

Any caller; the scope needed is checked on what it acts on.

Turned down

Media typeapplication/json
object
data
required
object
organization
required
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
name
required
string
domain
required

The email domain it opened

string
Examplegenerated
{
"data": {
"organization": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example"
},
"domain": "example"
}
}

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}