Skip to content

Decline a team notification address ("I didn't ask for this")

POST
/api/v1/public/team-address/decline
curl --request POST \
--url https://api.deploybase.eu/api/v1/api/v1/public/team-address/decline \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'

Consumes the confirmation token; the address is never mailed for that team. Single use. Every bad token answers the same 400.

Confirmation token

Media type application/json
object
token
string

Example generated

{
"token": "example"
}

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string

Example generated

{
"data": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Link is invalid, expired or already used

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Live 582ac705 built