{"status":"success","message":"Returning spec snapshot","data":"{\"openapi\":\"3.0.0\",\"info\":{\"description\":\"This is the OAS 3.0 specification for the Partner API in Sophos Central.\",\"version\":\"1.4.1\",\"contact\":{\"name\":\"Sophos Central APIs\",\"email\":\"apis@sophos.com\",\"url\":\"https://developer.sophos.com\"},\"title\":\"Partner API\"},\"tags\":[{\"name\":\"Tenants\",\"description\":\"Create new tenants, enumerate them or view tenant details.\"},{\"name\":\"Manage administrators\",\"description\":\"Create new administrators, update their profile information, enumerate them or view administrator details.\"},{\"name\":\"Billing report\",\"description\":\"Get the monthly billing report.\"},{\"name\":\"Role management\",\"description\":\"Manage roles and permission sets.\"}],\"servers\":[{\"url\":\"https://api.central.sophos.com/partner/v1\",\"description\":\"Global service in the production environment.\"}],\"security\":[{\"bearerAuth\":[]}],\"paths\":{\"/tenants\":{\"post\":{\"tags\":[\"Tenants\"],\"summary\":\"Create new tenant\",\"description\":\"Create a new tenant.\",\"operationId\":\"createTenant\",\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}],\"requestBody\":{\"description\":\"New tenant request.\",\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Request to create a new tenant.\",\"required\":[\"name\",\"dataGeography\",\"contact\",\"billingType\"],\"properties\":{\"showAs\":{\"type\":\"string\",\"maxLength\":255,\"description\":\"Tenant display name.\"},\"name\":{\"type\":\"string\",\"description\":\"Tenant name. This cannot be changed after the tenant has been created.\"},\"dataGeography\":{\"type\":\"string\",\"description\":\"Geographical location where the tenant data is stored.\",\"enum\":[\"US\",\"IE\",\"DE\",\"CA\",\"AU\",\"JP\"]},\"billingType\":{\"type\":\"string\",\"description\":\"Billing type.\",\"enum\":[\"trial\",\"usage\"]},\"contact\":{\"type\":\"object\",\"description\":\"Contact information for a partner, organization or tenant.\",\"required\":[\"firstName\",\"lastName\",\"email\",\"phone\",\"address\"],\"properties\":{\"firstName\":{\"type\":\"string\",\"description\":\"First name.\"},\"lastName\":{\"type\":\"string\",\"description\":\"Last name.\"},\"email\":{\"type\":\"string\",\"format\":\"email\",\"description\":\"Email address.\"},\"phone\":{\"type\":\"string\",\"description\":\"Phone number.\"},\"mobile\":{\"type\":\"string\",\"description\":\"Mobile number.\"},\"fax\":{\"type\":\"string\",\"description\":\"Fax number.\"},\"address\":{\"type\":\"object\",\"description\":\"Address of a partner, organization or tenant.\",\"required\":[\"address1\",\"city\",\"countryCode\",\"postalCode\"],\"properties\":{\"address1\":{\"type\":\"string\",\"description\":\"Line 1 of the address.\"},\"address2\":{\"type\":\"string\",\"description\":\"Line 2 of the address.\"},\"address3\":{\"type\":\"string\",\"description\":\"Line 3 of the address.\"},\"city\":{\"type\":\"string\",\"description\":\"City.\"},\"state\":{\"type\":\"string\",\"description\":\"State.\"},\"countryCode\":{\"type\":\"string\",\"description\":\"Country code.\"},\"postalCode\":{\"type\":\"string\",\"description\":\"Postal code.\"}}}}}}}}}},\"responses\":{\"201\":{\"description\":\"Created a new tenant.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Tenant.\",\"required\":[\"id\",\"name\",\"dataGeography\",\"dataRegion\",\"billingType\",\"partner\",\"apiHost\"],\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Tenant ID.\",\"format\":\"uuid\"},\"showAs\":{\"type\":\"string\",\"description\":\"Tenant display name.\"},\"name\":{\"type\":\"string\",\"description\":\"Name set when the tenant was created.\"},\"dataGeography\":{\"type\":\"string\",\"description\":\"Geographical location where the tenant data is stored.\",\"enum\":[\"US\",\"IE\",\"DE\",\"CA\",\"AU\",\"JP\"]},\"dataRegion\":{\"type\":\"string\",\"description\":\"The data region where tenant data is stored.\",\"enum\":[\"eu01\",\"eu02\",\"us01\",\"us02\",\"us03\",\"ca01\",\"au01\",\"jp01\"]},\"billingType\":{\"type\":\"string\",\"description\":\"Billing type.\",\"enum\":[\"term\",\"trial\",\"usage\"]},\"partner\":{\"type\":\"object\",\"description\":\"Represents a referenced object.\",\"required\":[\"id\"],\"properties\":{\"id\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The ID of the referenced object.\"}}},\"organization\":{\"type\":\"object\",\"description\":\"Represents a referenced object.\",\"required\":[\"id\"],\"properties\":{\"id\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The ID of the referenced object.\"}}},\"apiHost\":{\"type\":\"string\",\"description\":\"Tenant API host URL.\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}},\"get\":{\"tags\":[\"Tenants\"],\"summary\":\"Enumerate tenants\",\"description\":\"List all the tenants for a partner.\",\"operationId\":\"listTenantsInPartner\",\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},{\"in\":\"query\",\"name\":\"page\",\"required\":false,\"schema\":{\"type\":\"integer\",\"default\":1},\"description\":\"The page number to fetch, starting with 1.\"},{\"in\":\"query\",\"name\":\"pageSize\",\"required\":false,\"schema\":{\"type\":\"integer\",\"default\":50},\"description\":\"The size of the page requested.\"},{\"in\":\"query\",\"name\":\"pageTotal\",\"required\":false,\"schema\":{\"type\":\"boolean\",\"default\":false},\"description\":\"Whether the number of pages should be calculated and returned in the response.\"}],\"responses\":{\"200\":{\"description\":\"Page of tenants.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Page of tenants.\",\"required\":[\"items\",\"pages\"],\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"List of tenants.\",\"items\":{\"type\":\"object\",\"description\":\"Tenant.\",\"required\":[\"id\",\"name\",\"dataGeography\",\"dataRegion\",\"billingType\",\"partner\",\"apiHost\"],\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Tenant ID.\",\"format\":\"uuid\"},\"showAs\":{\"type\":\"string\",\"description\":\"Tenant display name.\"},\"name\":{\"type\":\"string\",\"description\":\"Name set when the tenant was created.\"},\"dataGeography\":{\"type\":\"string\",\"description\":\"Geographical location where the tenant data is stored.\",\"enum\":[\"US\",\"IE\",\"DE\",\"CA\",\"AU\",\"JP\"]},\"dataRegion\":{\"type\":\"string\",\"description\":\"The data region where tenant data is stored.\",\"enum\":[\"eu01\",\"eu02\",\"us01\",\"us02\",\"us03\",\"ca01\",\"au01\",\"jp01\"]},\"billingType\":{\"type\":\"string\",\"description\":\"Billing type.\",\"enum\":[\"term\",\"trial\",\"usage\"]},\"partner\":{\"type\":\"object\",\"description\":\"Represents a referenced object.\",\"required\":[\"id\"],\"properties\":{\"id\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The ID of the referenced object.\"}}},\"organization\":{\"type\":\"object\",\"description\":\"Represents a referenced object.\",\"required\":[\"id\"],\"properties\":{\"id\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The ID of the referenced object.\"}}},\"apiHost\":{\"type\":\"string\",\"description\":\"Tenant API host URL.\",\"format\":\"uri\"}}}},\"pages\":{\"type\":\"object\",\"required\":[\"current\",\"size\",\"maxSize\"],\"properties\":{\"current\":{\"type\":\"integer\",\"description\":\"The 1-based page number being returned.\"},\"size\":{\"type\":\"integer\",\"description\":\"The size of the page being returned.\"},\"total\":{\"type\":\"integer\",\"description\":\"(Optional) The total number of pages that exist, if pageTotal=true in the request.\"},\"items\":{\"type\":\"integer\",\"description\":\"(Optional) The total number of items across all pages.\"},\"maxSize\":{\"type\":\"integer\",\"description\":\"The maximum page size that can be requested.\"}}}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/tenants/{tenantId}\":{\"get\":{\"tags\":[\"Tenants\"],\"summary\":\"Get tenant details\",\"description\":\"Get a tenant by ID.\",\"operationId\":\"getTenantById\",\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"tenantId\",\"in\":\"path\",\"description\":\"Tenant ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}],\"responses\":{\"200\":{\"description\":\"Existing tenant.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Tenant.\",\"required\":[\"id\",\"name\",\"dataGeography\",\"dataRegion\",\"billingType\",\"partner\",\"apiHost\"],\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Tenant ID.\",\"format\":\"uuid\"},\"showAs\":{\"type\":\"string\",\"description\":\"Tenant display name.\"},\"name\":{\"type\":\"string\",\"description\":\"Name set when the tenant was created.\"},\"dataGeography\":{\"type\":\"string\",\"description\":\"Geographical location where the tenant data is stored.\",\"enum\":[\"US\",\"IE\",\"DE\",\"CA\",\"AU\",\"JP\"]},\"dataRegion\":{\"type\":\"string\",\"description\":\"The data region where tenant data is stored.\",\"enum\":[\"eu01\",\"eu02\",\"us01\",\"us02\",\"us03\",\"ca01\",\"au01\",\"jp01\"]},\"billingType\":{\"type\":\"string\",\"description\":\"Billing type.\",\"enum\":[\"term\",\"trial\",\"usage\"]},\"partner\":{\"type\":\"object\",\"description\":\"Represents a referenced object.\",\"required\":[\"id\"],\"properties\":{\"id\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The ID of the referenced object.\"}}},\"organization\":{\"type\":\"object\",\"description\":\"Represents a referenced object.\",\"required\":[\"id\"],\"properties\":{\"id\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"The ID of the referenced object.\"}}},\"apiHost\":{\"type\":\"string\",\"description\":\"Tenant API host URL.\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/roles\":{\"get\":{\"summary\":\"List all roles\",\"description\":\"List all partner roles.\",\"operationId\":\"listPartnerRoles\",\"tags\":[\"Partner role management\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"in\":\"query\",\"name\":\"type\",\"description\":\"Role type.\",\"required\":false,\"schema\":{\"description\":\"Role type.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"predefined\",\"custom\"]}},{\"in\":\"query\",\"name\":\"principalType\",\"description\":\"Principal type of role.\",\"required\":false,\"schema\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}],\"responses\":{\"200\":{\"description\":\"List of partner roles.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"List of roles.\",\"required\":[\"items\"],\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"List of roles.\",\"items\":{\"type\":\"object\",\"description\":\"A partner role.\",\"required\":[\"id\",\"name\",\"type\",\"principalType\",\"permissionSets\"],\"properties\":{\"id\":{\"description\":\"Role UUID.\",\"type\":\"string\",\"format\":\"uuid\"},\"name\":{\"description\":\"Role name.\",\"type\":\"string\"},\"description\":{\"description\":\"Role description.\",\"type\":\"string\"},\"type\":{\"description\":\"Role type.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"predefined\",\"custom\"]},\"principalType\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]},\"permissionSets\":{\"description\":\"List of permission sets.\",\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"minItems\":1},\"createdAt\":{\"description\":\"Date and time the partner role was created.\",\"type\":\"string\",\"format\":\"datetime\"},\"updatedAt\":{\"description\":\"Date and time the partner role was last updated.\",\"type\":\"string\",\"format\":\"datetime\"}}}}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}},\"post\":{\"summary\":\"Create new role\",\"description\":\"Create a new partner role.\",\"operationId\":\"createPartnerRole\",\"tags\":[\"Partner role management\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}],\"requestBody\":{\"description\":\"Request to create a new partner role.\",\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"New partner role.\",\"required\":[\"name\",\"permissionSets\",\"principalType\"],\"properties\":{\"name\":{\"description\":\"Role name.\",\"type\":\"string\",\"maxLength\":100},\"description\":{\"description\":\"Role description.\",\"type\":\"string\",\"maxLength\":1000},\"principalType\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]},\"permissionSets\":{\"description\":\"List of permission sets.\",\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"minItems\":1}}}}}},\"responses\":{\"201\":{\"description\":\"Requested role created.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"A partner role.\",\"required\":[\"id\",\"name\",\"type\",\"principalType\",\"permissionSets\"],\"properties\":{\"id\":{\"description\":\"Role UUID.\",\"type\":\"string\",\"format\":\"uuid\"},\"name\":{\"description\":\"Role name.\",\"type\":\"string\"},\"description\":{\"description\":\"Role description.\",\"type\":\"string\"},\"type\":{\"description\":\"Role type.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"predefined\",\"custom\"]},\"principalType\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]},\"permissionSets\":{\"description\":\"List of permission sets.\",\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"minItems\":1},\"createdAt\":{\"description\":\"Date and time the partner role was created.\",\"type\":\"string\",\"format\":\"datetime\"},\"updatedAt\":{\"description\":\"Date and time the partner role was last updated.\",\"type\":\"string\",\"format\":\"datetime\"}}}}}},\"409\":{\"description\":\"Role name already in use or is a pre-defined role name.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/roles/{roleId}\":{\"get\":{\"summary\":\"Get role by ID\",\"description\":\"Get partner role by ID.\",\"operationId\":\"getPartnerRoleById\",\"tags\":[\"Partner role management\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},{\"in\":\"path\",\"name\":\"roleId\",\"description\":\"Role ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Details of the requested role.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"A partner role.\",\"required\":[\"id\",\"name\",\"type\",\"principalType\",\"permissionSets\"],\"properties\":{\"id\":{\"description\":\"Role UUID.\",\"type\":\"string\",\"format\":\"uuid\"},\"name\":{\"description\":\"Role name.\",\"type\":\"string\"},\"description\":{\"description\":\"Role description.\",\"type\":\"string\"},\"type\":{\"description\":\"Role type.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"predefined\",\"custom\"]},\"principalType\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]},\"permissionSets\":{\"description\":\"List of permission sets.\",\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"minItems\":1},\"createdAt\":{\"description\":\"Date and time the partner role was created.\",\"type\":\"string\",\"format\":\"datetime\"},\"updatedAt\":{\"description\":\"Date and time the partner role was last updated.\",\"type\":\"string\",\"format\":\"datetime\"}}}}}},\"404\":{\"description\":\"Can't find role.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}},\"delete\":{\"summary\":\"Delete role by ID\",\"description\":\"Delete a partner role by ID.\",\"operationId\":\"deletePartnerRoleById\",\"tags\":[\"Partner role management\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"in\":\"path\",\"name\":\"roleId\",\"description\":\"Role ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Requested role deleted.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Delete response.\",\"properties\":{\"deleted\":{\"type\":\"boolean\"}}}}}},\"409\":{\"description\":\"You can't delete a role assigned to an admin.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}},\"patch\":{\"summary\":\"Patch role\",\"description\":\"Patch an existing partner role.\",\"operationId\":\"patchPartnerRole\",\"tags\":[\"Partner role management\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},{\"in\":\"path\",\"name\":\"roleId\",\"description\":\"Role ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"requestBody\":{\"description\":\"Json Merge Patch request.\",\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Patch request for a role.\",\"properties\":{\"name\":{\"description\":\"Role name.\",\"type\":\"string\",\"maxLength\":100},\"description\":{\"description\":\"Role description.\",\"type\":\"string\",\"maxLength\":1000},\"permissionSets\":{\"description\":\"List of permission sets to be replaced.\",\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"minItems\":1}}}}}},\"responses\":{\"200\":{\"description\":\"Updated role.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"A partner role.\",\"required\":[\"id\",\"name\",\"type\",\"principalType\",\"permissionSets\"],\"properties\":{\"id\":{\"description\":\"Role UUID.\",\"type\":\"string\",\"format\":\"uuid\"},\"name\":{\"description\":\"Role name.\",\"type\":\"string\"},\"description\":{\"description\":\"Role description.\",\"type\":\"string\"},\"type\":{\"description\":\"Role type.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"predefined\",\"custom\"]},\"principalType\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]},\"permissionSets\":{\"description\":\"List of permission sets.\",\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"minItems\":1},\"createdAt\":{\"description\":\"Date and time the partner role was created.\",\"type\":\"string\",\"format\":\"datetime\"},\"updatedAt\":{\"description\":\"Date and time the partner role was last updated.\",\"type\":\"string\",\"format\":\"datetime\"}}}}}},\"409\":{\"description\":\"Role name already in use or is a pre-defined role name.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/roles/permission-sets\":{\"get\":{\"summary\":\"Get permission sets\",\"description\":\"Get permission set details.\",\"operationId\":\"getRolePermissionSet\",\"tags\":[\"Partner role management\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},{\"in\":\"query\",\"name\":\"type\",\"description\":\"Permission set type.\",\"required\":false,\"schema\":{\"description\":\"Permission set type.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"base\",\"product\",\"setting\"]}},{\"in\":\"query\",\"name\":\"product\",\"description\":\"Filter permission sets associated with given product name.\",\"required\":false,\"schema\":{\"description\":\"Product identifier.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"endpoint\",\"server\",\"mobile\",\"encryption\",\"emailGateway\",\"webGateway\",\"phishThreat\",\"wireless\",\"firewall\",\"optix\",\"ztna\"]}},{\"in\":\"query\",\"name\":\"access\",\"description\":\"Access level of permission set.\",\"required\":false,\"schema\":{\"description\":\"Access level of a permission set.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"admin\",\"helpdesk\",\"readOnly\"]}},{\"in\":\"query\",\"name\":\"allowedInCustomRole\",\"description\":\"Filter permissions sets allowed in custom roles.\",\"required\":false,\"schema\":{\"type\":\"boolean\"}},{\"in\":\"query\",\"name\":\"principalType\",\"description\":\"Principal type of role.\",\"required\":false,\"schema\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]}}],\"responses\":{\"200\":{\"description\":\"List of permission sets.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"List of permission sets.\",\"required\":[\"items\"],\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"List of permission sets.\",\"items\":{\"type\":\"object\",\"description\":\"Permission set.\",\"required\":[\"id\",\"name\",\"type\",\"principalTypes\",\"allowedInCustomRoles\"],\"properties\":{\"id\":{\"description\":\"Permission set identifier.\",\"type\":\"string\"},\"name\":{\"description\":\"Permission set name.\",\"type\":\"string\"},\"description\":{\"description\":\"Permission set description.\",\"type\":\"string\"},\"type\":{\"description\":\"Permission set type.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"base\",\"product\",\"setting\"]},\"access\":{\"description\":\"Access level of a permission set.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"admin\",\"helpdesk\",\"readOnly\"]},\"principalTypes\":{\"description\":\"Principal types for which permission set is allowed.\",\"type\":\"array\",\"items\":{\"description\":\"Principal type of role.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"user\",\"service\"]}},\"products\":{\"description\":\"List of products associated to a permission set of type product.\",\"type\":\"array\",\"items\":{\"description\":\"Product identifier.\",\"type\":\"string\",\"format\":\"enum\",\"enum\":[\"endpoint\",\"server\",\"mobile\",\"encryption\",\"emailGateway\",\"webGateway\",\"phishThreat\",\"wireless\",\"firewall\",\"optix\",\"ztna\"]},\"uniqueItems\":true},\"allowedInCustomRoles\":{\"description\":\"Signifies if permission set is allowed in a custom role.\",\"type\":\"boolean\"}}}}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/admins\":{\"get\":{\"summary\":\"List all admins\",\"description\":\"List all partner admins.\",\"operationId\":\"getPartnerAdmins\",\"tags\":[\"Partner Admins\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"in\":\"query\",\"name\":\"page\",\"required\":false,\"schema\":{\"type\":\"integer\",\"default\":1},\"description\":\"The page number to fetch, starting with 1.\"},{\"in\":\"query\",\"name\":\"pageSize\",\"required\":false,\"schema\":{\"type\":\"integer\",\"default\":50},\"description\":\"The size of the page requested.\"},{\"in\":\"query\",\"name\":\"pageTotal\",\"required\":false,\"schema\":{\"type\":\"boolean\",\"default\":false},\"description\":\"Whether the number of pages should be calculated and returned in the response.\"},{\"in\":\"query\",\"name\":\"sort\",\"description\":\"Defines how to sort the data.\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"pattern\":\"(^[^:]+$)|(^[^:]+:(asc|desc)$)\"}}},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},{\"in\":\"query\",\"name\":\"search\",\"description\":\"Search for items that match the given terms.\",\"required\":false,\"schema\":{\"type\":\"string\"}},{\"in\":\"query\",\"name\":\"email\",\"description\":\"Search by email.\",\"required\":false,\"schema\":{\"type\":\"string\"}},{\"in\":\"query\",\"name\":\"roleId\",\"description\":\"Search by role ID.\",\"required\":false,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"in\":\"query\",\"name\":\"withAccessToTenant\",\"description\":\"Search for admins that have access to the given tenant.\",\"required\":false,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Paged array of partner admins.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Page of partner administrators.\",\"required\":[\"items\",\"pages\"],\"properties\":{\"items\":{\"description\":\"Partner administrators.\",\"type\":\"array\",\"items\":{\"type\":\"object\",\"description\":\"Partner administrator.\",\"required\":[\"id\",\"username\",\"profile\",\"active\",\"primary\",\"roleAssignments\"],\"properties\":{\"id\":{\"description\":\"Administrator ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"username\":{\"description\":\"Administrator username (email).\",\"type\":\"string\",\"format\":\"email\"},\"profile\":{\"type\":\"object\",\"description\":\"Profile information for partner administrator.\",\"required\":[\"firstName\",\"lastName\",\"name\"],\"properties\":{\"name\":{\"description\":\"Full name.\",\"type\":\"string\"},\"firstName\":{\"description\":\"First name.\",\"type\":\"string\"},\"lastName\":{\"description\":\"Last name.\",\"type\":\"string\"},\"phone\":{\"description\":\"Phone number.\",\"type\":\"string\"},\"mobile\":{\"description\":\"Mobile phone number.\",\"type\":\"string\"},\"fax\":{\"description\":\"Fax number.\",\"type\":\"string\"}}},\"active\":{\"description\":\"Whether the partner administrator is active.\",\"type\":\"boolean\"},\"primary\":{\"description\":\"Whether this is the primary administrator for the partner account.\",\"type\":\"boolean\",\"default\":false},\"roleAssignments\":{\"description\":\"Partner administrator's role assignments.\",\"type\":\"array\",\"items\":{\"type\":\"object\",\"description\":\"Role assignment.\",\"required\":[\"id\",\"roleId\",\"scope\"],\"properties\":{\"id\":{\"description\":\"Role assignment ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}}}}}},\"pages\":{\"type\":\"object\",\"required\":[\"current\",\"size\",\"maxSize\"],\"properties\":{\"current\":{\"type\":\"integer\",\"description\":\"The 1-based page number being returned.\"},\"size\":{\"type\":\"integer\",\"description\":\"The size of the page being returned.\"},\"total\":{\"type\":\"integer\",\"description\":\"(Optional) The total number of pages that exist, if pageTotal=true in the request.\"},\"items\":{\"type\":\"integer\",\"description\":\"(Optional) The total number of items across all pages.\"},\"maxSize\":{\"type\":\"integer\",\"description\":\"The maximum page size that can be requested.\"}}}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}},\"post\":{\"summary\":\"Create new admin\",\"description\":\"Create a new partner administrator.\",\"operationId\":\"createPartnerAdmin\",\"tags\":[\"Partner Admins\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"requestBody\":{\"description\":\"New admin creation request.\",\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"New partner administrator.\",\"required\":[\"username\",\"profile\"],\"properties\":{\"username\":{\"description\":\"Administrator username (email).\",\"type\":\"string\",\"format\":\"email\"},\"profile\":{\"type\":\"object\",\"description\":\"Profile information for partner administrator.\",\"required\":[\"firstName\",\"lastName\",\"name\"],\"properties\":{\"name\":{\"description\":\"Full name.\",\"type\":\"string\"},\"firstName\":{\"description\":\"First name.\",\"type\":\"string\"},\"lastName\":{\"description\":\"Last name.\",\"type\":\"string\"},\"phone\":{\"description\":\"Phone number.\",\"type\":\"string\"},\"mobile\":{\"description\":\"Mobile phone number.\",\"type\":\"string\"},\"fax\":{\"description\":\"Fax number.\",\"type\":\"string\"}}},\"roleAssignments\":{\"description\":\"Role assignments.\",\"type\":\"array\",\"items\":{\"type\":\"object\",\"description\":\"New role assignment request.\",\"required\":[\"roleId\",\"scope\"],\"properties\":{\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}}}}}}}},\"responses\":{\"201\":{\"description\":\"Requested admin created.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Partner administrator.\",\"required\":[\"id\",\"username\",\"profile\",\"active\",\"primary\",\"roleAssignments\"],\"properties\":{\"id\":{\"description\":\"Administrator ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"username\":{\"description\":\"Administrator username (email).\",\"type\":\"string\",\"format\":\"email\"},\"profile\":{\"type\":\"object\",\"description\":\"Profile information for partner administrator.\",\"required\":[\"firstName\",\"lastName\",\"name\"],\"properties\":{\"name\":{\"description\":\"Full name.\",\"type\":\"string\"},\"firstName\":{\"description\":\"First name.\",\"type\":\"string\"},\"lastName\":{\"description\":\"Last name.\",\"type\":\"string\"},\"phone\":{\"description\":\"Phone number.\",\"type\":\"string\"},\"mobile\":{\"description\":\"Mobile phone number.\",\"type\":\"string\"},\"fax\":{\"description\":\"Fax number.\",\"type\":\"string\"}}},\"active\":{\"description\":\"Whether the partner administrator is active.\",\"type\":\"boolean\"},\"primary\":{\"description\":\"Whether this is the primary administrator for the partner account.\",\"type\":\"boolean\",\"default\":false},\"roleAssignments\":{\"description\":\"Partner administrator's role assignments.\",\"type\":\"array\",\"items\":{\"type\":\"object\",\"description\":\"Role assignment.\",\"required\":[\"id\",\"roleId\",\"scope\"],\"properties\":{\"id\":{\"description\":\"Role assignment ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}}}}}}}},\"400\":{\"description\":\"Bad request.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"409\":{\"description\":\"Email address already in use.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/admins/{adminId}\":{\"get\":{\"summary\":\"Get admin by ID\",\"description\":\"Get partner administrator details by ID.\",\"operationId\":\"getPartnerAdmin\",\"tags\":[\"Partner Admins\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"adminId\",\"in\":\"path\",\"description\":\"Partner administrator ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Details of the requested partner administrator.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Partner administrator.\",\"required\":[\"id\",\"username\",\"profile\",\"active\",\"primary\",\"roleAssignments\"],\"properties\":{\"id\":{\"description\":\"Administrator ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"username\":{\"description\":\"Administrator username (email).\",\"type\":\"string\",\"format\":\"email\"},\"profile\":{\"type\":\"object\",\"description\":\"Profile information for partner administrator.\",\"required\":[\"firstName\",\"lastName\",\"name\"],\"properties\":{\"name\":{\"description\":\"Full name.\",\"type\":\"string\"},\"firstName\":{\"description\":\"First name.\",\"type\":\"string\"},\"lastName\":{\"description\":\"Last name.\",\"type\":\"string\"},\"phone\":{\"description\":\"Phone number.\",\"type\":\"string\"},\"mobile\":{\"description\":\"Mobile phone number.\",\"type\":\"string\"},\"fax\":{\"description\":\"Fax number.\",\"type\":\"string\"}}},\"active\":{\"description\":\"Whether the partner administrator is active.\",\"type\":\"boolean\"},\"primary\":{\"description\":\"Whether this is the primary administrator for the partner account.\",\"type\":\"boolean\",\"default\":false},\"roleAssignments\":{\"description\":\"Partner administrator's role assignments.\",\"type\":\"array\",\"items\":{\"type\":\"object\",\"description\":\"Role assignment.\",\"required\":[\"id\",\"roleId\",\"scope\"],\"properties\":{\"id\":{\"description\":\"Role assignment ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}}}}}}}},\"404\":{\"description\":\"Can't find admin.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/admins/{adminId}/role-assignments\":{\"get\":{\"summary\":\"List all roles\",\"description\":\"Get the list of role assignments for given admin.\",\"operationId\":\"getAdminRoleAssignments\",\"tags\":[\"Partner Admins\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"adminId\",\"in\":\"path\",\"description\":\"Partner administrator ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"A list of role assignments for an admin.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"List of role assignments.\",\"required\":[\"roleAssignments\"],\"properties\":{\"items\":{\"description\":\"Role assignments.\",\"type\":\"array\",\"items\":{\"type\":\"object\",\"description\":\"Role assignment.\",\"required\":[\"id\",\"roleId\",\"scope\"],\"properties\":{\"id\":{\"description\":\"Role assignment ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}},\"uniqueItems\":true}}}}}},\"404\":{\"description\":\"Can't find admin.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}},\"post\":{\"summary\":\"Assign a role\",\"description\":\"Assign a role to a partner administrator.\",\"operationId\":\"createAdminRoleAssignment\",\"tags\":[\"Partner Admins\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"adminId\",\"in\":\"path\",\"description\":\"Partner administrator ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"requestBody\":{\"description\":\"New role assignment request.\",\"required\":true,\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"New role assignment request.\",\"required\":[\"roleId\",\"scope\"],\"properties\":{\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}}}}},\"responses\":{\"201\":{\"description\":\"Requested assignment created.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Role assignment.\",\"required\":[\"id\",\"roleId\",\"scope\"],\"properties\":{\"id\":{\"description\":\"Role assignment ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}}}}},\"400\":{\"description\":\"Bad request.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"404\":{\"description\":\"Can't find admin or role.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/admins/{adminId}/role-assignments/{assignmentId}\":{\"get\":{\"summary\":\"Get role by ID\",\"description\":\"Get partner administrator role assignment by ID.\",\"operationId\":\"getAdminRoleAssignmentById\",\"tags\":[\"Partner Admins\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"adminId\",\"in\":\"path\",\"description\":\"Partner administrator ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"assignmentId\",\"in\":\"path\",\"description\":\"Role assignment ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Details of role assignment.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Role assignment.\",\"required\":[\"id\",\"roleId\",\"scope\"],\"properties\":{\"id\":{\"description\":\"Role assignment ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"roleId\":{\"description\":\"Role ID.\",\"type\":\"string\",\"format\":\"uuid\"},\"scope\":{\"type\":\"object\",\"description\":\"Role assignment scope.\",\"required\":[\"type\"],\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Role assignment scope type.\",\"enum\":[\"tenant\",\"allManagedTenants\",\"self\"]},\"id\":{\"description\":\"Tenant ID. Optional or not present when `type` is `allManagedTenants` or `self`.\",\"type\":\"string\",\"format\":\"uuid\"}}}}}}}},\"404\":{\"description\":\"Can't find admin or assignment.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}},\"delete\":{\"summary\":\"Remove a role\",\"description\":\"Remove role assignment from an admin.\",\"operationId\":\"removeAdminRoleAssignmentById\",\"tags\":[\"Partner Admins\"],\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"adminId\",\"in\":\"path\",\"description\":\"Partner administrator ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"assignmentId\",\"in\":\"path\",\"description\":\"Role assignment ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}}],\"responses\":{\"200\":{\"description\":\"Role assignment removed.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Response to the request to delete a role assignment.\",\"required\":[\"deleted\"],\"properties\":{\"deleted\":{\"description\":\"Whether the role assignment was deleted.\",\"type\":\"boolean\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}},\"/billing/usage/{year}/{month}\":{\"get\":{\"tags\":[\"Partner Billing\"],\"summary\":\"Get usage report\",\"description\":\"Usage report.\",\"operationId\":\"getMonthlyReport\",\"parameters\":[{\"name\":\"X-Partner-ID\",\"in\":\"header\",\"description\":\"Partner ID.\",\"required\":true,\"schema\":{\"type\":\"string\",\"format\":\"uuid\"}},{\"name\":\"month\",\"in\":\"path\",\"description\":\"Month of the year.\",\"required\":true,\"schema\":{\"type\":\"integer\",\"minimum\":1,\"maximum\":12}},{\"name\":\"year\",\"in\":\"path\",\"description\":\"Year.\",\"required\":true,\"schema\":{\"type\":\"integer\",\"minimum\":2021}},{\"in\":\"query\",\"name\":\"pageSize\",\"required\":false,\"schema\":{\"type\":\"integer\",\"default\":50},\"description\":\"The size of the page requested.\"},{\"in\":\"query\",\"name\":\"pageFromKey\",\"required\":false,\"schema\":{\"type\":\"string\"},\"description\":\"The key of the item from where to fetch a page.\"},{\"in\":\"query\",\"name\":\"pageTotal\",\"required\":false,\"schema\":{\"type\":\"boolean\",\"default\":false},\"description\":\"Whether the number of pages should be calculated and returned in the response.\"},{\"name\":\"fields\",\"description\":\"The fields to return in a partial response.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},{\"name\":\"contactEmail\",\"description\":\"Tenant email for contact.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"maxItems\":50}},{\"name\":\"accountId\",\"description\":\"Tenant Id.\",\"in\":\"query\",\"style\":\"form\",\"explode\":false,\"schema\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"format\":\"uuid\"},\"maxItems\":50}}],\"responses\":{\"200\":{\"description\":\"Billing report.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"description\":\"Page of billing report items.\",\"required\":[\"items\",\"pages\"],\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"Billing report items.\",\"items\":{\"type\":\"object\",\"description\":\"A single line in the partner's monthly billing report.\",\"required\":[\"partnerAccountId\",\"partnerEdiAccountNumber\",\"partnerAccountName\",\"billingStartDate\",\"billingEndDate\",\"orderNumber\",\"orderLineItemNumber\",\"accountNumberOrSerialNumber\",\"productDescription\",\"productGroup\",\"sku\",\"billableQuantity\",\"externalId\",\"accountId\",\"accountStatus\",\"actualQuantity\",\"productCode\"],\"properties\":{\"partnerAccountId\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"Partner ID.\",\"example\":\"d31ab2df-7005-4c06-bd7d-2bc8de44be06\"},\"partnerEdiAccountNumber\":{\"type\":\"string\",\"description\":\"Partner EDI account number (7-digit).\",\"example\":\"1231231\"},\"partnerAccountName\":{\"type\":\"string\",\"description\":\"Partner account name.\",\"example\":\"ABC Corp\"},\"billingStartDate\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"Billing start date.\",\"example\":\"2021-01-31\"},\"billingEndDate\":{\"type\":\"string\",\"format\":\"date\",\"description\":\"Billing end date.\",\"example\":\"2021-04-31\"},\"orderNumber\":{\"type\":\"string\",\"description\":\"Order ID.\",\"example\":\"OrderID-123123123\"},\"orderLineItemNumber\":{\"type\":\"string\",\"description\":\"Order line item number.\",\"example\":\"OrderLine-12312312\"},\"accountNumberOrSerialNumber\":{\"type\":\"string\",\"description\":\"Partner account number (7-digit) OR firewall serial number (alphanumeric).\",\"example\":\"C01234ABC1CDEF2\"},\"assignedAccountIdentifier\":{\"type\":\"string\",\"description\":\"Company name OR a partner-assigned name (alphanumeric).\",\"example\":\"Safelog\"},\"contactName\":{\"type\":\"string\",\"description\":\"Contact name.\",\"example\":\"John Smith\"},\"contactEmail\":{\"type\":\"string\",\"format\":\"email\",\"description\":\"Contact email.\",\"example\":\"john.smith@example.com\"},\"contactStreet\":{\"type\":\"string\",\"description\":\"Contact street address.\",\"example\":\"1 Smith Avenue\"},\"contactCity\":{\"type\":\"string\",\"description\":\"Contact city.\",\"example\":\"Smithfield\"},\"contactCountry\":{\"type\":\"string\",\"description\":\"Contact country.\",\"example\":\"USA\"},\"contactZip\":{\"type\":\"string\",\"description\":\"Contact zipcode.\",\"example\":\"32932\"},\"productDescription\":{\"type\":\"string\",\"description\":\"Product description.\",\"example\":\"SW/Virtual EnterpriseGuard Plus - UP TO 2 CORES & 4GB RAM - 500-999 DEVICES - MSP Monthly\"},\"productGroup\":{\"type\":\"string\",\"description\":\"MSP product group.\",\"example\":\"User\"},\"sku\":{\"type\":\"string\",\"description\":\"Sophos Stock Keeping Unit.\",\"example\":\"CEAZ1CSMG\"},\"billableQuantity\":{\"type\":\"integer\",\"description\":\"Total billable quantity.\",\"example\":20},\"unitMsrpCurrency\":{\"type\":\"string\",\"description\":\"MSRP currency unit.\",\"example\":\"USD\"},\"unitMsrp\":{\"type\":\"string\",\"description\":\"Unit MSRP.\",\"example\":\"1.40\"},\"unitPriceCurrency\":{\"type\":\"string\",\"description\":\"Unit price currency.\",\"example\":\"USD\"},\"unitPrice\":{\"type\":\"string\",\"description\":\"Unit price (decimal).\",\"example\":\"1.40\"},\"netPriceCurrency\":{\"type\":\"string\",\"description\":\"Net price currency.\",\"example\":\"USD\"},\"netPrice\":{\"type\":\"string\",\"description\":\"Net price (decimal).\",\"example\":\"1.40\"},\"priceWithTaxesCurrency\":{\"type\":\"string\",\"description\":\"Price with taxes currency.\",\"example\":\"USD\"},\"priceWithTaxes\":{\"type\":\"string\",\"description\":\"Price with taxes (decimal).\",\"example\":\"1.40\"},\"distributorAccountName\":{\"type\":\"string\",\"description\":\"MSP distributor company name.\",\"example\":\"ABC Inc.\"},\"additionalDiscountPercentage\":{\"type\":\"number\",\"description\":\"Additional discount percentage.\",\"example\":25},\"externalId\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"End-user external ID.\",\"example\":\"17b80674-f2cb-4b4f-a134-54ee24fbd5b3\"},\"accountId\":{\"type\":\"string\",\"format\":\"uuid\",\"description\":\"End-user account ID.\",\"example\":\"718b6047-2fbc-b4f4-1a43-45ee42bf5d3b\"},\"accountStatus\":{\"type\":\"string\",\"format\":\"enum\",\"description\":\"Account status.\",\"enum\":[\"active\",\"suspended\",\"canceled\"]},\"orderedQuantity\":{\"type\":\"integer\",\"description\":\"Quantity ordered.\",\"example\":20},\"actualQuantity\":{\"type\":\"integer\",\"description\":\"Actual quantity.\",\"example\":20},\"productCode\":{\"type\":\"string\",\"description\":\"Sophos product code.\",\"example\":\"CIXA-MSP\"}}}},\"pages\":{\"type\":\"object\",\"required\":[\"maxSize\",\"size\"],\"properties\":{\"fromKey\":{\"type\":\"string\",\"description\":\"The key of the first item in the returned page.\"},\"nextKey\":{\"type\":\"string\",\"description\":\"The key to use when fetching the next page.\"},\"size\":{\"type\":\"integer\",\"description\":\"The size of the page being returned.\"},\"total\":{\"type\":\"integer\",\"description\":\"(Optional) The total number of pages that exist, if pageTotal=true in the request.\"},\"items\":{\"type\":\"integer\",\"description\":\"(Optional) The total number of items on all the pages, if pageTotal=true was passed into the request.\"},\"maxSize\":{\"type\":\"integer\",\"description\":\"The maximum page size that can be requested.\"}}}}}}}},\"404\":{\"description\":\"No data for requested year or month.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}},\"500\":{\"description\":\"Unexpected error.\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"required\":[\"error\"],\"properties\":{\"error\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"correlationId\":{\"type\":\"string\",\"format\":\"uuid\"},\"code\":{\"type\":\"string\"},\"createdAt\":{\"type\":\"string\",\"format\":\"datetime\"},\"requestId\":{\"type\":\"string\",\"format\":\"uuid\"},\"docUrl\":{\"type\":\"string\",\"format\":\"uri\"}}}}}}}}}},\"components\":{\"securitySchemes\":{\"bearerAuth\":{\"type\":\"http\",\"scheme\":\"bearer\",\"bearerFormat\":\"JWT\"}}}}","code":null,"request_id":"1370693224","error_code":null}