{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-arm-cpim/b2-ctenants-check-name-availability":{"post":{"operationId":"cloud_azure_arm_cpim_b2_ctenants_check_name_availability","summary":"Checks the availability and validity of a domain name for the tenant.","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/checkNameAvailability","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId"],"properties":{"subscriptionId":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"},"api-version":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/b2-ctenants-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_cpim_b2_ctenants_list_by_resource_group","summary":"Get all the Azure AD B2C tenant resources in a resource group.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories","tags":["cloud"],"parameters":[{"name":"subscriptionId","in":"query","required":true,"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…","schema":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"}},{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request.","schema":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/b2-ctenants-list-by-subscription":{"get":{"operationId":"cloud_azure_arm_cpim_b2_ctenants_list_by_subscription","summary":"Get all the Azure AD B2C tenant resources in a subscription.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories","tags":["cloud"],"parameters":[{"name":"subscriptionId","in":"query","required":true,"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…","schema":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"}},{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request.","schema":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/b2-ctenants-get":{"get":{"operationId":"cloud_azure_arm_cpim_b2_ctenants_get","summary":"Get the Azure AD B2C tenant resource.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}","tags":["cloud"],"parameters":[{"name":"subscriptionId","in":"query","required":true,"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…","schema":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"}},{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request.","schema":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}},{"name":"resourceName","in":"query","required":true,"description":"The initial domain name of the Azure AD B2C tenant.","schema":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/b2-ctenants-create":{"post":{"operationId":"cloud_azure_arm_cpim_b2_ctenants_create","summary":"Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource…","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"subscriptionId":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"},"api-version":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceName":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/b2-ctenants-update":{"post":{"operationId":"cloud_azure_arm_cpim_b2_ctenants_update","summary":"Update the Azure AD B2C tenant resource.","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"subscriptionId":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"},"api-version":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceName":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/b2-ctenants-delete":{"post":{"operationId":"cloud_azure_arm_cpim_b2_ctenants_delete","summary":"Initiates an async operation to delete the Azure AD B2C tenant and Azure resource. The resource deletion can…","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"subscriptionId":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"},"api-version":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceName":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/operations-list":{"get":{"operationId":"cloud_azure_arm_cpim_operations_list","summary":"Lists the operations available from this provider.","description":"GET /providers/Microsoft.AzureActiveDirectory/operations","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request.","schema":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/guest-usages-get":{"get":{"operationId":"cloud_azure_arm_cpim_guest_usages_get","summary":"Gets a Guest Usages resource","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request.","schema":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."}},{"name":"subscriptionId","in":"query","required":true,"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…","schema":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}},{"name":"resourceName","in":"query","required":true,"description":"The initial domain name of the Azure AD B2C tenant.","schema":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/guest-usages-create":{"post":{"operationId":"cloud_azure_arm_cpim_guest_usages_create","summary":"Creates a Guest Usages resource","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"api-version":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."},"subscriptionId":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceName":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/guest-usages-update":{"post":{"operationId":"cloud_azure_arm_cpim_guest_usages_update","summary":"Updates a Guest Usages resource","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"api-version":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."},"subscriptionId":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceName":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/guest-usages-delete":{"post":{"operationId":"cloud_azure_arm_cpim_guest_usages_delete","summary":"Deletes a Guest Usages resource","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"api-version":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."},"subscriptionId":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceName":{"type":"string","description":"The initial domain name of the Azure AD B2C tenant."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/guest-usages-list-by-subscription":{"get":{"operationId":"cloud_azure_arm_cpim_guest_usages_list_by_subscription","summary":"Gets Guest Usages resources under a subscription","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/guestUsages","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request.","schema":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."}},{"name":"subscriptionId","in":"query","required":true,"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…","schema":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-cpim/guest-usages-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_cpim_guest_usages_list_by_resource_group","summary":"Gets Guest Usages resources under resource group","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/guestUsages","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request.","schema":{"type":"string","default":"2021-04-01","description":"Version of the API to be used with the client request."}},{"name":"subscriptionId","in":"query","required":true,"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…","schema":{"type":"string","description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service…"}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}