Meta sites
Add meta site
Adds meta site with unique name. You can add apps to this meta site in /api/meta-sites/v1/{meta_site_id}/relationships/apps endpoint.
post/api/meta-sites/v1
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"id": "6edb1e3c-4c43-4760-ab76-682ad83146be",
"attributes": {
"name": "All apps",
"currency": "USD",
"timezone": "Europe/Warsaw"
}
}
}Response
Created
Example response
{
"data": {
"id": "6edb1e3c-4c43-4760-ab76-682ad83146be",
"attributes": {
"name": "All apps",
"currency": "USD",
"timezone": "Europe/Warsaw",
"organization": "default"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.