Team creation status
const url = 'https://api.deploybase.eu/api/v1/api/v1/me/team-creation';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.deploybase.eu/api/v1/api/v1/me/team-creation \ --header 'Authorization: <Authorization>'What the create-team page needs before it is filled in: whether the Free plan can be picked (and why not, naming the Free team the person already owns), until when the person is rate limited, and the current Terms and DPA versions to show and echo back on POST /me/teams. Requires a signed-in user: API keys and agent tokens are refused.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
FreeAllowed is whether the Free plan can be picked.
FreeBlockedReason is owns_free_team or created_recently when Free is not allowed.
FreeBlockedTeamName names the Free team the person owns (owns_free_team only).
RateLimitedUntil is set while the person has used up today’s creations.
TermsVersion and DPAVersion are the versions the page must show and echo back.
Example
{ "data": { "free_blocked_reason": "owns_free_team" }}Unauthorized
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Forbidden
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Internal Server Error
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Live f79d25b6 built