{ "uuid": "7d09e45e-2b24-4a82-afef-b257a5e6ba2a", "lastMigration": 29, "name": "Android Device Provisioning Partner API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "9b4dc569-bef5-4a28-8215-0434701e27fe", "documentation": "Lists the user's customer accounts.", "method": "get", "endpoint": "v1/customers", "responses": [ { "uuid": "fdf4b0b4-2805-413a-a2cf-bed762812cf3", "body": "{\n \"customers\": [\n {\n \"adminEmails\": [\n \"\"\n ],\n \"companyId\": \"\",\n \"companyName\": \"\",\n \"googleWorkspaceAccount\": {\n \"customerId\": \"\",\n \"preProvisioningTokens\": [\n \"\"\n ]\n },\n \"languageCode\": \"\",\n \"name\": \"\",\n \"ownerEmails\": [\n \"\"\n ],\n \"skipWelcomeEmail\": {{faker 'datatype.boolean'}},\n \"termsStatus\": \"{{oneOf (array 'TERMS_STATUS_UNSPECIFIED' 'TERMS_STATUS_NOT_ACCEPTED' 'TERMS_STATUS_ACCEPTED' 'TERMS_STATUS_STALE')}}\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d4723805-854f-4c2c-9e36-e8e2de46937e", "documentation": "Updates reseller metadata associated with the device. Android devices only.", "method": "post", "endpoint": "v1/partners/:metadataOwnerId/devices/:deviceId/metadata", "responses": [ { "uuid": "41027e81-525e-4445-a645-445a08f7277b", "body": "{\n \"entries\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "eec3af92-6398-4926-a27a-c69dac9209de", "documentation": "Lists the customers that are enrolled to the reseller identified by the `partnerId` argument. This list includes customers that the reseller created and customers that enrolled themselves using the portal.", "method": "get", "endpoint": "v1/partners/:partnerId/customers", "responses": [ { "uuid": "3d69038e-8a8f-41a5-ac5c-8adf89d805ea", "body": "{\n \"customers\": [\n {\n \"adminEmails\": [\n \"\"\n ],\n \"companyId\": \"\",\n \"companyName\": \"\",\n \"googleWorkspaceAccount\": {\n \"customerId\": \"\",\n \"preProvisioningTokens\": [\n \"\"\n ]\n },\n \"languageCode\": \"\",\n \"name\": \"\",\n \"ownerEmails\": [\n \"\"\n ],\n \"skipWelcomeEmail\": {{faker 'datatype.boolean'}},\n \"termsStatus\": \"{{oneOf (array 'TERMS_STATUS_UNSPECIFIED' 'TERMS_STATUS_NOT_ACCEPTED' 'TERMS_STATUS_ACCEPTED' 'TERMS_STATUS_STALE')}}\"\n }\n ],\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5213655b-f2f5-4d7b-a59b-d964464edd0f", "documentation": "Claims a device for a customer and adds it to zero-touch enrollment. If the device is already claimed by another customer, the call returns an error.", "method": "post", "endpoint": "v1/partners/:partnerId/devices:claim", "responses": [ { "uuid": "2115763f-412e-4962-8771-0643150bef42", "body": "{\n \"deviceId\": \"\",\n \"deviceName\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "26cea093-7fe0-4e1f-8645-5219012b4091", "documentation": "Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).", "method": "post", "endpoint": "v1/partners/:partnerId/devices:claimAsync", "responses": [ { "uuid": "cbe40336-5a60-4798-a437-c7e513ef9aa1", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "99e43f6c-92cc-4c0f-8713-20520fbdad82", "documentation": "Finds devices by hardware identifiers, such as IMEI.", "method": "post", "endpoint": "v1/partners/:partnerId/devices:findByIdentifier", "responses": [ { "uuid": "db3e893b-b7e8-49df-9709-52314f32e16b", "body": "{\n \"devices\": [\n {\n \"claims\": [\n {\n \"additionalService\": \"{{oneOf (array 'ADDITIONAL_SERVICE_UNSPECIFIED' 'DEVICE_PROTECTION')}}\",\n \"googleWorkspaceCustomerId\": \"\",\n \"ownerCompanyId\": \"\",\n \"resellerId\": \"\",\n \"sectionType\": \"{{oneOf (array 'SECTION_TYPE_UNSPECIFIED' 'SECTION_TYPE_SIM_LOCK' 'SECTION_TYPE_ZERO_TOUCH')}}\",\n \"vacationModeExpireTime\": \"\",\n \"vacationModeStartTime\": \"\"\n }\n ],\n \"configuration\": \"\",\n \"deviceId\": \"\",\n \"deviceIdentifier\": {\n \"chromeOsAttestedDeviceId\": \"\",\n \"deviceType\": \"{{oneOf (array 'DEVICE_TYPE_UNSPECIFIED' 'DEVICE_TYPE_ANDROID' 'DEVICE_TYPE_CHROME_OS')}}\",\n \"imei\": \"\",\n \"manufacturer\": \"\",\n \"meid\": \"\",\n \"model\": \"\",\n \"serialNumber\": \"\"\n },\n \"deviceMetadata\": {\n \"entries\": {}\n },\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "41985a48-3a33-4028-a522-55aa284749b7", "documentation": "Finds devices claimed for customers. The results only contain devices registered to the reseller that's identified by the `partnerId` argument. The customer's devices purchased from other resellers don't appear in the results.", "method": "post", "endpoint": "v1/partners/:partnerId/devices:findByOwner", "responses": [ { "uuid": "125bca56-1387-43de-aa5e-440463624b54", "body": "{\n \"devices\": [\n {\n \"claims\": [\n {\n \"additionalService\": \"{{oneOf (array 'ADDITIONAL_SERVICE_UNSPECIFIED' 'DEVICE_PROTECTION')}}\",\n \"googleWorkspaceCustomerId\": \"\",\n \"ownerCompanyId\": \"\",\n \"resellerId\": \"\",\n \"sectionType\": \"{{oneOf (array 'SECTION_TYPE_UNSPECIFIED' 'SECTION_TYPE_SIM_LOCK' 'SECTION_TYPE_ZERO_TOUCH')}}\",\n \"vacationModeExpireTime\": \"\",\n \"vacationModeStartTime\": \"\"\n }\n ],\n \"configuration\": \"\",\n \"deviceId\": \"\",\n \"deviceIdentifier\": {\n \"chromeOsAttestedDeviceId\": \"\",\n \"deviceType\": \"{{oneOf (array 'DEVICE_TYPE_UNSPECIFIED' 'DEVICE_TYPE_ANDROID' 'DEVICE_TYPE_CHROME_OS')}}\",\n \"imei\": \"\",\n \"manufacturer\": \"\",\n \"meid\": \"\",\n \"model\": \"\",\n \"serialNumber\": \"\"\n },\n \"deviceMetadata\": {\n \"entries\": {}\n },\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9108a562-cbf2-4020-b64d-adbe0735a7e1", "documentation": "Unclaims a device from a customer and removes it from zero-touch enrollment.", "method": "post", "endpoint": "v1/partners/:partnerId/devices:unclaim", "responses": [ { "uuid": "479fc836-f81e-4c83-a80a-fec7c804d593", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0e0bb9ac-529d-4485-8446-fd5a83e56add", "documentation": "Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).", "method": "post", "endpoint": "v1/partners/:partnerId/devices:unclaimAsync", "responses": [ { "uuid": "582227c6-fecd-4e8d-a626-9fe1d07e0e30", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cb2e91b3-eb65-425e-9adb-b41e4c86ed8f", "documentation": "Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations). Android Devices only.", "method": "post", "endpoint": "v1/partners/:partnerId/devices:updateMetadataAsync", "responses": [ { "uuid": "673de006-bec5-4f10-a841-ad14bb7f25a4", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "19cd4e39-f5b1-4077-a25e-1f03a78617c5", "documentation": "Deletes an unused configuration. The API call fails if the customer has devices with the configuration applied.", "method": "delete", "endpoint": "v1/:name", "responses": [ { "uuid": "ceda4745-bd13-4370-83c7-cf737d7807dd", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3e3d8a3b-a354-4520-8ead-ec46fd57f562", "documentation": "Gets a device.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "511bc6e8-53b9-45ee-a0b0-16244a91a0f7", "body": "{\n \"claims\": [\n {\n \"additionalService\": \"{{oneOf (array 'ADDITIONAL_SERVICE_UNSPECIFIED' 'DEVICE_PROTECTION')}}\",\n \"googleWorkspaceCustomerId\": \"\",\n \"ownerCompanyId\": \"\",\n \"resellerId\": \"\",\n \"sectionType\": \"{{oneOf (array 'SECTION_TYPE_UNSPECIFIED' 'SECTION_TYPE_SIM_LOCK' 'SECTION_TYPE_ZERO_TOUCH')}}\",\n \"vacationModeExpireTime\": \"\",\n \"vacationModeStartTime\": \"\"\n }\n ],\n \"configuration\": \"\",\n \"deviceId\": \"\",\n \"deviceIdentifier\": {\n \"chromeOsAttestedDeviceId\": \"\",\n \"deviceType\": \"{{oneOf (array 'DEVICE_TYPE_UNSPECIFIED' 'DEVICE_TYPE_ANDROID' 'DEVICE_TYPE_CHROME_OS')}}\",\n \"imei\": \"\",\n \"manufacturer\": \"\",\n \"meid\": \"\",\n \"model\": \"\",\n \"serialNumber\": \"\"\n },\n \"deviceMetadata\": {\n \"entries\": {}\n },\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "62a15861-5aab-4059-88bf-53f75d2b3693", "documentation": "Updates a configuration's field values.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "aab655d3-959e-473f-8abf-2d6b3cce1752", "body": "{\n \"companyName\": \"\",\n \"configurationId\": \"\",\n \"configurationName\": \"\",\n \"contactEmail\": \"\",\n \"contactPhone\": \"\",\n \"customMessage\": \"\",\n \"dpcExtras\": \"\",\n \"dpcResourcePath\": \"\",\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9fe018cc-37d4-48e7-9cd0-5ecad715780e", "documentation": "Lists a customer's configurations.", "method": "get", "endpoint": "v1/:parent/configurations", "responses": [ { "uuid": "e8526b66-5b79-489d-aec6-106bdb1bda1b", "body": "{\n \"configurations\": [\n {\n \"companyName\": \"\",\n \"configurationId\": \"\",\n \"configurationName\": \"\",\n \"contactEmail\": \"\",\n \"contactPhone\": \"\",\n \"customMessage\": \"\",\n \"dpcExtras\": \"\",\n \"dpcResourcePath\": \"\",\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6d22b0fc-b803-4412-94de-5e3aa94bfc00", "documentation": "Creates a new configuration. Once created, a customer can apply the configuration to devices.", "method": "post", "endpoint": "v1/:parent/configurations", "responses": [ { "uuid": "7c1ad6ee-dcef-4839-b1f0-33cdc678cb9a", "body": "{\n \"companyName\": \"\",\n \"configurationId\": \"\",\n \"configurationName\": \"\",\n \"contactEmail\": \"\",\n \"contactPhone\": \"\",\n \"customMessage\": \"\",\n \"dpcExtras\": \"\",\n \"dpcResourcePath\": \"\",\n \"isDefault\": {{faker 'datatype.boolean'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aab07229-c5d7-44c9-a62e-cb44ce6fac98", "documentation": "Lists the customers of the vendor.", "method": "get", "endpoint": "v1/:parent/customers", "responses": [ { "uuid": "c944b554-0ee4-47a8-83de-82d4be149516", "body": "{\n \"customers\": [\n {\n \"adminEmails\": [\n \"\"\n ],\n \"companyId\": \"\",\n \"companyName\": \"\",\n \"googleWorkspaceAccount\": {\n \"customerId\": \"\",\n \"preProvisioningTokens\": [\n \"\"\n ]\n },\n \"languageCode\": \"\",\n \"name\": \"\",\n \"ownerEmails\": [\n \"\"\n ],\n \"skipWelcomeEmail\": {{faker 'datatype.boolean'}},\n \"termsStatus\": \"{{oneOf (array 'TERMS_STATUS_UNSPECIFIED' 'TERMS_STATUS_NOT_ACCEPTED' 'TERMS_STATUS_ACCEPTED' 'TERMS_STATUS_STALE')}}\"\n }\n ],\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70b6f759-d175-45e6-889f-7b3bb37b546b", "documentation": "Creates a customer for zero-touch enrollment. After the method returns successfully, admin and owner roles can manage devices and EMM configs by calling API methods or using their zero-touch enrollment portal. The customer receives an email that welcomes them to zero-touch enrollment and explains how to sign into the portal.", "method": "post", "endpoint": "v1/:parent/customers", "responses": [ { "uuid": "c526a645-73ed-4c90-adc7-30277dea7c7d", "body": "{\n \"adminEmails\": [\n \"\"\n ],\n \"companyId\": \"\",\n \"companyName\": \"\",\n \"googleWorkspaceAccount\": {\n \"customerId\": \"\",\n \"preProvisioningTokens\": [\n \"\"\n ]\n },\n \"languageCode\": \"\",\n \"name\": \"\",\n \"ownerEmails\": [\n \"\"\n ],\n \"skipWelcomeEmail\": {{faker 'datatype.boolean'}},\n \"termsStatus\": \"{{oneOf (array 'TERMS_STATUS_UNSPECIFIED' 'TERMS_STATUS_NOT_ACCEPTED' 'TERMS_STATUS_ACCEPTED' 'TERMS_STATUS_STALE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "248f0749-2950-46c7-a309-43605a4c8dd7", "documentation": "Lists a customer's devices.", "method": "get", "endpoint": "v1/:parent/devices", "responses": [ { "uuid": "4bb3e69e-aa5e-4c9c-8415-baf13ebb7c13", "body": "{\n \"devices\": [\n {\n \"claims\": [\n {\n \"additionalService\": \"{{oneOf (array 'ADDITIONAL_SERVICE_UNSPECIFIED' 'DEVICE_PROTECTION')}}\",\n \"googleWorkspaceCustomerId\": \"\",\n \"ownerCompanyId\": \"\",\n \"resellerId\": \"\",\n \"sectionType\": \"{{oneOf (array 'SECTION_TYPE_UNSPECIFIED' 'SECTION_TYPE_SIM_LOCK' 'SECTION_TYPE_ZERO_TOUCH')}}\",\n \"vacationModeExpireTime\": \"\",\n \"vacationModeStartTime\": \"\"\n }\n ],\n \"configuration\": \"\",\n \"deviceId\": \"\",\n \"deviceIdentifier\": {\n \"chromeOsAttestedDeviceId\": \"\",\n \"deviceType\": \"{{oneOf (array 'DEVICE_TYPE_UNSPECIFIED' 'DEVICE_TYPE_ANDROID' 'DEVICE_TYPE_CHROME_OS')}}\",\n \"imei\": \"\",\n \"manufacturer\": \"\",\n \"meid\": \"\",\n \"model\": \"\",\n \"serialNumber\": \"\"\n },\n \"deviceMetadata\": {\n \"entries\": {}\n },\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bab53da4-9094-4e3b-be0e-f8bd41baac55", "documentation": "Applies a Configuration to the device to register the device for zero-touch enrollment. After applying a configuration to a device, the device automatically provisions itself on first boot, or next factory reset.", "method": "post", "endpoint": "v1/:parent/devices:applyConfiguration", "responses": [ { "uuid": "713043d2-e3d3-437b-92fb-b90db2116c5c", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "857880cd-0a18-4660-9a6d-c825367d8a07", "documentation": "Removes a configuration from device.", "method": "post", "endpoint": "v1/:parent/devices:removeConfiguration", "responses": [ { "uuid": "7e8e50fc-5d25-4d7f-a5a5-f3f2468f6047", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "783ea858-6fde-4218-9a15-c01020effcd4", "documentation": "Unclaims a device from a customer and removes it from zero-touch enrollment. After removing a device, a customer must contact their reseller to register the device into zero-touch enrollment again.", "method": "post", "endpoint": "v1/:parent/devices:unclaim", "responses": [ { "uuid": "7063f4fb-2b6d-4e6e-b801-0f520ee3dd17", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ebebcbd8-8968-4ecc-91ce-87b8f820ef41", "documentation": "Lists the DPCs (device policy controllers) that support zero-touch enrollment.", "method": "get", "endpoint": "v1/:parent/dpcs", "responses": [ { "uuid": "43d1edbf-432e-4683-936a-5645c4c1f9ef", "body": "{\n \"dpcs\": [\n {\n \"dpcName\": \"\",\n \"name\": \"\",\n \"packageName\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "27549202-c9f9-4fac-b991-5fa4e6cc195d", "documentation": "Lists the vendors of the partner.", "method": "get", "endpoint": "v1/:parent/vendors", "responses": [ { "uuid": "251065ef-fce0-44d2-86d2-ea3c990a80f8", "body": "{\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}},\n \"vendors\": [\n {\n \"adminEmails\": [\n \"\"\n ],\n \"companyId\": \"\",\n \"companyName\": \"\",\n \"googleWorkspaceAccount\": {\n \"customerId\": \"\",\n \"preProvisioningTokens\": [\n \"\"\n ]\n },\n \"languageCode\": \"\",\n \"name\": \"\",\n \"ownerEmails\": [\n \"\"\n ],\n \"skipWelcomeEmail\": {{faker 'datatype.boolean'}},\n \"termsStatus\": \"{{oneOf (array 'TERMS_STATUS_UNSPECIFIED' 'TERMS_STATUS_NOT_ACCEPTED' 'TERMS_STATUS_ACCEPTED' 'TERMS_STATUS_STALE')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "9b4dc569-bef5-4a28-8215-0434701e27fe" }, { "type": "route", "uuid": "d4723805-854f-4c2c-9e36-e8e2de46937e" }, { "type": "route", "uuid": "eec3af92-6398-4926-a27a-c69dac9209de" }, { "type": "route", "uuid": "5213655b-f2f5-4d7b-a59b-d964464edd0f" }, { "type": "route", "uuid": "26cea093-7fe0-4e1f-8645-5219012b4091" }, { "type": "route", "uuid": "99e43f6c-92cc-4c0f-8713-20520fbdad82" }, { "type": "route", "uuid": "41985a48-3a33-4028-a522-55aa284749b7" }, { "type": "route", "uuid": "9108a562-cbf2-4020-b64d-adbe0735a7e1" }, { "type": "route", "uuid": "0e0bb9ac-529d-4485-8446-fd5a83e56add" }, { "type": "route", "uuid": "cb2e91b3-eb65-425e-9adb-b41e4c86ed8f" }, { "type": "route", "uuid": "19cd4e39-f5b1-4077-a25e-1f03a78617c5" }, { "type": "route", "uuid": "3e3d8a3b-a354-4520-8ead-ec46fd57f562" }, { "type": "route", "uuid": "62a15861-5aab-4059-88bf-53f75d2b3693" }, { "type": "route", "uuid": "9fe018cc-37d4-48e7-9cd0-5ecad715780e" }, { "type": "route", "uuid": "6d22b0fc-b803-4412-94de-5e3aa94bfc00" }, { "type": "route", "uuid": "aab07229-c5d7-44c9-a62e-cb44ce6fac98" }, { "type": "route", "uuid": "70b6f759-d175-45e6-889f-7b3bb37b546b" }, { "type": "route", "uuid": "248f0749-2950-46c7-a309-43605a4c8dd7" }, { "type": "route", "uuid": "bab53da4-9094-4e3b-be0e-f8bd41baac55" }, { "type": "route", "uuid": "857880cd-0a18-4660-9a6d-c825367d8a07" }, { "type": "route", "uuid": "783ea858-6fde-4218-9a15-c01020effcd4" }, { "type": "route", "uuid": "ebebcbd8-8968-4ecc-91ce-87b8f820ef41" }, { "type": "route", "uuid": "27549202-c9f9-4fac-b991-5fa4e6cc195d" } ] }