Get functions closed-beta status
const url = 'https://api.deploybase.eu/api/v1/api/v1/team/functions-beta';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/team/functions-beta \ --header 'Authorization: <Authorization>'Returns the team’s closed-beta state (eligible, applied, enrolled, or open), the current terms version a client must accept, the application trail, and the two per-caller hints: whether this caller may apply and whether the announcement should be shown to them.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
InvitesOpen false means the closed beta is not taking applications yet: the dashboard hides the invite surfaces for teams in state “eligible” and the apply endpoint refuses. It says nothing about a team that is already applied or enrolled.
RequestedByIsMe lets the UI say “you applied” rather than naming a colleague we would otherwise have to resolve a Zitadel subject into.
TeamName is the label the apply form binds the acceptance to (“on behalf of
TermsVersion is always the CURRENT terms version — the one a client must echo back on apply — never the version the team accepted historically. A stale page therefore cannot silently re-accept old terms.
Example generated
{ "data": { "beta_open": true, "can_apply": true, "granted_at": "example", "invites_open": true, "prompt_eligible": true, "requested_at": "example", "requested_by_is_me": true, "state": "example", "team_name": "example", "terms_version": "example" }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}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" }}Not Found
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" }}Service Unavailable
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}