Servers
Create a new server share
Share a server with a team.
Processing mode: <small><code>sync</code></small>
post/orgs/{organization}/teams/{team}/servers
Request
- Base URLhttps://forge.laravel.com/api
- AuthOAuth 2Authorization codehttps://forge.laravel.com/oauth/authorizeToken URLhttps://forge.laravel.com/oauth/tokenScopesserver:create
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organizationstring required
The organization slug
teaminteger required
The team ID
Request body
Example request
{
"server_id": 12345
}Response
ServerResource
Example response
{
"data": {
"attributes": {
"created_at": "2025-07-29T09:00:00Z",
"updated_at": "2025-07-30T09:00:00Z"
}
},
"included": [
{
"attributes": {
"created_at": "2025-07-29T09:00:00Z",
"updated_at": "2025-07-30T09:00:00Z"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.