<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Api on Layer5 Documentation</title><link>/tags/api/</link><description>Recent content in Api on Layer5 Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="/tags/api/index.xml" rel="self" type="application/rss+xml"/><item><title>Workspace and Environment Reference</title><link>/cloud/reference/workspaces-and-environments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/cloud/reference/workspaces-and-environments/</guid><description>&lt;p&gt;This page states how workspaces and environments behave, exactly. For the model, read the &lt;a href="/cloud/concepts/workspaces/"&gt;Workspaces&lt;/a&gt; and &lt;a href="/cloud/concepts/environments/"&gt;Environments&lt;/a&gt; concepts. For tasks, use the &lt;a href="/cloud/guides/workspaces/"&gt;workspace guides&lt;/a&gt;. For every endpoint&amp;rsquo;s schema, see the &lt;a href="/cloud/reference/api-reference/rest/"&gt;REST API Reference&lt;/a&gt;, and for base URL and authentication see the &lt;a href="/cloud/reference/api-reference/"&gt;Cloud API&lt;/a&gt;. All paths below sit under &lt;code&gt;/api&lt;/code&gt;.&lt;/p&gt;

&lt;h2 id="fields-defaults-and-limits" class="heading-link"&gt;
 Fields, defaults, and limits
 &lt;a href="#fields-defaults-and-limits" class="heading-anchor" aria-label="Permalink to this heading"&gt;🔗&lt;/a&gt;
&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Property&lt;/th&gt;
 &lt;th&gt;Workspace&lt;/th&gt;
 &lt;th&gt;Environment&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Name&lt;/td&gt;
 &lt;td&gt;Up to 255 characters. Not required or unique on the API.&lt;/td&gt;
 &lt;td&gt;Up to 255 characters. Not required or unique on the API.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Description&lt;/td&gt;
 &lt;td&gt;Up to 255 characters. May be empty.&lt;/td&gt;
 &lt;td&gt;Up to 255 characters. May be empty.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Organization&lt;/td&gt;
 &lt;td&gt;Required on create. Fixed for the life of the workspace.&lt;/td&gt;
 &lt;td&gt;Required on create (&lt;code&gt;organizationId is required&lt;/code&gt;). Fixed for the life of the environment.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Owner&lt;/td&gt;
 &lt;td&gt;The user who created it.&lt;/td&gt;
 &lt;td&gt;Not recorded on create.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Starting state&lt;/td&gt;
 &lt;td&gt;No teams, environments, designs, or views.&lt;/td&gt;
 &lt;td&gt;No connections, in no workspace.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Kind&lt;/td&gt;
 &lt;td&gt;Single kind.&lt;/td&gt;
 &lt;td&gt;Ordinary when created through the API. Platform-provisioned environments exist and are protected.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Update&lt;/td&gt;
 &lt;td&gt;Only the fields sent change.&lt;/td&gt;
 &lt;td&gt;Name and description are both replaced; an omitted field becomes empty.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Plan check&lt;/td&gt;
 &lt;td&gt;None.&lt;/td&gt;
 &lt;td&gt;None. The feature matrix lists environments under Enterprise.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Count limits&lt;/td&gt;
 &lt;td&gt;None. An organization must keep at least one workspace.&lt;/td&gt;
 &lt;td&gt;None.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Layer5 Cloud creates &lt;strong&gt;My Workspace&lt;/strong&gt; in any organization that has no workspace.&lt;/p&gt;</description></item><item><title>Cloud API</title><link>/cloud/reference/api-reference/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/cloud/reference/api-reference/</guid><description>&lt;p&gt;The Layer5 Cloud REST API lets you build integrations, retrieve data, and automate your infrastructure. This page states the conventions every endpoint shares: base URL, authentication, organization context, pagination, and errors. For the list of endpoints, see the &lt;a href="/cloud/reference/api-reference/rest/"&gt;REST API Reference&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id="base-url" class="heading-link"&gt;
 Base URL
 &lt;a href="#base-url" class="heading-anchor" aria-label="Permalink to this heading"&gt;🔗&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Every endpoint lives under &lt;code&gt;/api&lt;/code&gt; on the host of your Layer5 Cloud deployment.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Deployment&lt;/th&gt;
 &lt;th&gt;Base URL&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Hosted Layer5 Cloud&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;https://cloud.layer5.io/api&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Self-hosted&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;https://&amp;lt;your-cloud-host&amp;gt;/api&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;

&lt;h2 id="authentication" class="heading-link"&gt;
 Authentication
 &lt;a href="#authentication" class="heading-anchor" aria-label="Permalink to this heading"&gt;🔗&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Authenticate with a &lt;a href="/cloud/concepts/identity-and-security/tokens/"&gt;security token&lt;/a&gt;. Send it as a bearer token in the &lt;code&gt;Authorization&lt;/code&gt; header:&lt;/p&gt;</description></item></channel></rss>