Organization management
Create a functional unit
Use this endpoint to create a new functional unit.
post/v1/organization/functional_units
Request
- Base URLhttps://api.sinai.com
- Auth
- OAuth 2Client credentialsToken URLhttps://auth.sinai.com/oauth2/tokenScopeshttps://api.sinai.com/organization
- or OAuth 2Authorization codehttps://auth.sinai.com/oauth2/authorizeToken URLhttps://auth.sinai.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"defaultDisplayUnit": "kg"
}Response
Functional unit created successfully
Example response
{
"defaultDisplayUnit": "kg",
"supportedUnits": [
"kg"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.