{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Create an Account. To create the Account within an Organization, provide `unit.id` and omit `standalone`. To create a standalone Free Account, provide `standalone: true` and omit `unit`. Providing both fields is invalid. If you omit both fields, Cloudflare can determine the destination only when the User is an administrator of exactly one Organization. Cloudflare creates the Account in that Organization; otherwise, the request returns an error. Account names are limited to 65 UTF-8 bytes.","properties":{"headers":{"type":"object","properties":{"Idempotency-Key":{"type":"string","maxLength":128,"minLength":1,"description":"Optional key that identifies an Account-creation request. Free Account creation can require exactly one valid key, so API clients should send a key with every Account-creation request. Reuse the same key when retrying the same request."}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/iam_create-account"}},"required":["body"],"additionalProperties":false,"definitions":{"iam_create-account":{"type":"object","properties":{"name":{"description":"Account name, limited to 65 UTF-8 bytes.","type":"string"},"standalone":{"description":"Set to `true` and omit `unit` to create a standalone Free Account. If provided, this field must be `true`.","type":"boolean","enum":[true]},"type":{"description":"the type of account being created. For self-serve customers, use standard. for enterprise customers, use enterprise.","default":"standard","allOf":[{"$ref":"#/definitions/iam_account-type"}],"examples":["standard"]},"unit":{"description":"Information related to the tenant unit. Provide its ID and omit `standalone` to create the Account within an Organization. See https://developers.cloudflare.com/tenant/how-to/manage-accounts/.","type":"object","properties":{"id":{"description":"Tenant unit ID","type":"string","examples":["f267e341f3dd4697bd3b9f71dd96247f"]}}}},"not":{"required":["unit","standalone"],"type":"object"},"required":["name"],"title":"Create Account"},"iam_account-type":{"enum":["standard","enterprise"]}}},"name":"Create an Account","id":"cloudflare.account-creation","example":{"body":{"name":"example"}},"maxRequests":1,"summary":false}}