Create PurposeAsk AIpost https://{hostname}/api/consentmanager/v1/purposesQuery ParamsisInternalOrgbooleanDefaults to falsetruefalseBody ParamsOrganizationsarray of stringsOrganizationsADD stringNamestringrequiredDescriptionstringrequiredConsentLifeSpanint64requiredDefaultLanguagestringTypestringenumSTANDARDSTANDARDCOOKIEIABMOBILENOTIFICATION_OPT_OUTAllowed:STANDARDCOOKIEIABMOBILENOTIFICATION_OPT_OUTParentPurposeIduuidattributeValuesobjectattributeValues objectEnableGeolocationbooleanfalsetruefalseCustomPreferenceIdsarray of uuidsCustomPreferenceIdsADD uuidImplicitConsentLifeSpanint64ImplicitConsentConfirmDescstringHardOptOutDisplayFormatstringenumHIDEHIDELOCKAllowed:HIDELOCKPurposeCategoryobjectPurposeCategory objectLastMajorVersionint64VersionNotesstringIsMajorVersionbooleanfalsetruefalseHardOptOutMessagestringHeadersacceptstringenumDefaults to application/json*/*application/jsonAllowed:*/*application/jsonResponses 200OK - Successfully created purpose 400Bad Request 401Unauthorized 403Forbidden 404Not Found 429Too Many Requests. For more information, see API Rate Limits. 500Internal Server ErrorUpdated 4 months ago