action britbox_create_profile { label: "createProfile" description: "Create a new profile under the active account." provider: britbox method: POST path: "/account/profiles" encoding: json input: { type: "object" required: ["name"] properties: { languageCode: { type: "string" description: "The code of the preferred language for the profile.\nMust be a valid ISO language code e.g. \"en-US\" and must match the code of\none of the languages specified in the app config.\nSee https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\n" } name: { type: "string" description: "The unique name of the profile." } pinEnabled: { type: "boolean" description: "Whether an account pin is required to enter the profile.\n\nIf no account pin is defined this has no impact.\n" } purchaseEnabled: { type: "boolean" description: "Whether the profile can make purchases with the account payment options." } segments: { type: "array" description: "The segments a profile should be placed under" items: { type: "string" } } } additionalProperties: false } output: { type: "object" } }