Openapi
Create an asset inspection type for the organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe asset inspection type payload.
application/jsonintervalMonths?|1 <= value <= 240key?string^[a-z][a-z0-9_]{0,39}$legallyRequired?booleanname*string1 <= length <= 120Returns the created asset inspection type.
application/jsonarchivedAt*|nullid*assetInspectionTypeIdSchemauuidintervalMonths*|0 < valuekey*string1 <= lengthlegallyRequired*booleanname*string1 <= lengthorganizationId*organizationIdSchemauuidposition*integercurl -X POST 'https://app.localhost/api/v1/organizations/123/asset-inspection-types' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "archivedAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "intervalMonths": 1, "key": "string", "legallyRequired": true, "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0}