---
url: "https://developers.vzconnect.com/apis/groups-hierarchy-api/versions/6301049c-0ba5-4584-a236-ea7417e150ff"
---

OpenAPI specification document.

```json
{"openapi":"3.0.3","info":{"title":"Groups Management API","description":"### BETA VERSION\nThis API is currently in Beta. It is subject to changes, and backward compatibility is not guaranteed. Please use with caution in production environments.\n\n### Overview\nEndpoints for managing organizational group hierarchies and access control scopes within REVEAL. Groups act as organizational containers that restrict user access to vehicles, drivers, users, and assets. Standard RESTful endpoints are provided for resource creation (POST), retrieval (GET), partial update (PATCH), and removal (DELETE). This service supports hierarchical nesting via groupId and parentGroupId.","contact":{"name":"Verizon Connect","url":"https://reveal-help.verizonconnect.com/hc/en-us","email":"revealintegration@verizonconnect.com"},"version":"1.0","x-vz-audience":"domain-private","x-vzc-portal":{"category":"Fleet Organization","summary":"Structure and manage group hierarchies in Verizon Connect Reveal.","business":{"description":"helps organizations structure and manage group hierarchies in Verizon Connect Reveal. Groups define access and visibility for vehicles, drivers, users, and assets. Groups can be nested under parent groups, allowing the structure in Reveal to reflect how an organization is actually arranged. Note: The Groups Management API is currently in beta. Its behavior may change, and backward compatibility is not guaranteed.","purpose":"The Groups Management API allows your team to create, view, update, and delete groups across your Reveal account.\n\nBy organizing groups into parent-and-child hierarchies, businesses can maintain a structure that represents their operational organization and use groups to control user access to fleet and employee information."},"use-cases":[{"title":"Reflect Organizational Structure","description":"Organize groups into a hierarchy that corresponds to business units, regions, or other operational divisions."},{"title":"Manage Access Scopes","description":"Use groups to define which vehicles, drivers, users, and assets are within a user's access scope."},{"title":"Maintain Group Hierarchies","description":"Create and retrieve groups and update or remove them as organizational structures change."},{"title":"Integrate Group Administration","description":"Connect group-management workflows in Reveal with back-office systems that maintain organizational structures."}],"icon-svg-base64":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3NSIgaGVpZ2h0PSI3NSIgdmlld0JveD0iMCAwIDc1IDc1IiBmaWxsPSJub25lIj4NCjx0aXR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TF6TTM1IDM1aDF2MWgtMXpNMzkgNTFoMXYxaC0xek00MSA1MmgxdjFoLTF6TTIgNTRoMXYxaC0xeiIgZmlsbD0iIzAwMDAwMCIgZmlsbC1vcGFjaXR5PSIwLjM3MyIvPg0KPHBhdGggZD0iTTQ0IDJoMXYxaC0xek00MiA0aDF2MWgtMXpNMzIgMTdoMXYxaC0xek0zNCAxOWgxdjFoLTF6TTcwIDM0aDF2MWgtMXoiIGZpbGw9IiMwMDAwMDAiIGZpbGwtb3BhY2l0eT0iMC41NjEiLz4NCjxwYXRoIGQ9Ik01OCAyaDF2MWgtMXpNNDUgMjFoMXYxaC0xek01MiAyOWgxdjFoLTF6TTE5IDQ4aDF2MWgtMXpNMjcgNDhoMXYxaC0xeiIgZmlsbD0iIzAwMDAwMCIgZmlsbC1vcGFjaXR5PSIwLjY4NiIvPg0KPHBhdGggZD0iTTM3IDQwaDF2MWgtMXpNMzYgNDFoMXYxaC0xek0zNSA0MmgxdjFoLTF6TTcgNTFoMXYxaC0xek01IDUyaDF2MWgtMXoiIGZpbGw9IiMwMDAwMDAiIGZpbGwtb3BhY2l0eT0iMC40OTgiLz4NCjxwYXRoIGQ9Ik0xNSAxNmgxdjFoLTF6TTQ3IDI5aDF2MWgtMXpNNTUgMjloMXYxaC0xek0zMyA0NGgxdjFoLTF6IiBmaWxsPSIjMDAwMDAwIiBmaWxsLW9wYWNpdHk9IjAuNDM1Ii8+DQo8cGF0aCBkPSJNMzEgMTZoMXYxaC0xek0zNyAyOWgxdjFoLTF6TTkgMzBoMXYxaC0xek00NiA1N2gxdjFoLTF6IiBmaWxsPSIjMDAwMDAwIiBmaWxsLW9wYWNpdHk9IjAuNDM5Ii8+DQo8L3N2Zz4NCg==","status":{"type":"beta","message":"This API is currently in Beta. It is subject to changes, and backward compatibility is not guaranteed. Please use with caution in production environments."}}},"tags":[{"name":"Groups Management API","description":"Group lifecycle management and access control scope operations: create, read, update, delete."}],"paths":{"/v1/groups":{"get":{"tags":["Groups Management API"],"operationId":"listGroups","summary":"List groups","description":"Retrieves a paginated list of groups within the account that the caller is authorized to view.","parameters":[{"$ref":"#/components/parameters/PageToken"},{"$ref":"#/components/parameters/TraceParent"},{"$ref":"#/components/parameters/TraceState"}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupList"},"examples":{"List of groups (first page)":{"value":{"items":[{"groupId":"019726a4-3b2c-7def-8abc-1234567890ab","name":"North West Region Fleet","parentGroup":{"groupId":"018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","externalIds":["fleet:north-region-01"]},"externalIds":["fleet:north-west-region-01"],"links":[{"href":"/groups/019726a4-3b2c-7def-8abc-1234567890ab","rel":"self","method":"GET"},{"href":"/groups/018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","rel":"up","method":"GET"}]},{"groupId":"019726b7-9c4d-7a1e-b2f3-abcdef012345","name":"South West Region Fleet","parentGroup":{"groupId":"018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","externalIds":["fleet:north-region-01"]},"externalIds":["fleet:south-west-region-01"],"links":[{"href":"/groups/019726b7-9c4d-7a1e-b2f3-abcdef012345","rel":"self","method":"GET"},{"href":"/groups/018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","rel":"up","method":"GET"}]}],"links":[{"href":"/groups","rel":"self","method":"GET"},{"href":"/groups?page_token=MDE5NzI2YTQzYjJjN2RlZjhhYmM","rel":"next","method":"GET"}]}},"Nothing found":{"value":{"items":[],"links":[{"href":"/groups","rel":"self","method":"GET"}]}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"default":{"$ref":"#/components/responses/InternalServerError"}}},"post":{"tags":["Groups Management API"],"operationId":"createGroup","summary":"Create a group","description":"Creates a new group under a specified parent group. Supports idempotent creation via the Idempotency-Key request header to prevent duplicate group creation on retries.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/TraceParent"},{"$ref":"#/components/parameters/TraceState"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreateRequest"},"examples":{"Create group under parent referenced by groupId":{"value":{"name":"North West Region Fleet","parentGroup":{"groupId":"018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f"},"externalIds":["fleet:north-west-region-01"]}},"Create group under parent referenced by externalId":{"value":{"name":"North West Region Fleet","parentGroup":{"externalId":"fleet:north-region-01"},"externalIds":["fleet:north-west-region-01"]}}}}}},"responses":{"201":{"description":"Created","headers":{"ETag":{"$ref":"#/components/headers/ETag"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"},"examples":{"Created group":{"value":{"groupId":"019726a4-3b2c-7def-8abc-1234567890ab","name":"North West Region Fleet","parentGroup":{"groupId":"018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","externalIds":["fleet:north-region-01"]},"externalIds":["fleet:north-west-region-01"],"links":[{"href":"/groups/019726a4-3b2c-7def-8abc-1234567890ab","rel":"self","method":"GET"},{"href":"/groups/018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","rel":"up","method":"GET"}]}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"$ref":"#/components/responses/UnprocessableContent"},"429":{"$ref":"#/components/responses/TooManyRequests"},"default":{"$ref":"#/components/responses/InternalServerError"}}}},"/v1/groups/{group-id}":{"parameters":[{"$ref":"#/components/parameters/GroupIdPath"}],"get":{"tags":["Groups Management API"],"operationId":"getGroup","summary":"Get group by ID","description":"Retrieves details for a specific group resource. Accepts either a server-generated groupId or a customer-managed externalId (formatted as scope:value) in the path parameter. Exactly one identifier must be provided per request.","parameters":[{"$ref":"#/components/parameters/TraceParent"},{"$ref":"#/components/parameters/TraceState"}],"responses":{"200":{"description":"Ok","headers":{"ETag":{"$ref":"#/components/headers/ETag"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Group"},"examples":{"A single group":{"value":{"groupId":"019726a4-3b2c-7def-8abc-1234567890ab","name":"North West Region Fleet","parentGroup":{"groupId":"018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","externalIds":["fleet:north-region-01"]},"externalIds":["fleet:north-west-region-01"],"links":[{"href":"/groups/019726a4-3b2c-7def-8abc-1234567890ab","rel":"self","method":"GET"},{"href":"/groups/018e4b6d-a1b2-7c3d-8e4f-5a6b7c8d9e0f","rel":"up","method":"GET"}]}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"default":{"$ref":"#/components/responses/InternalServerError"}}},"patch":{"tags":["Groups Management API"],"operationId":"updateGroup","summary":"Update a group","description":"Applies partial changes to a group. The `groupId` never changes.\n\nSend an RFC 6902 JSON Patch document: an array of operations applied in order. The request is all or nothing, so if one operation fails, none are applied.\n\nSupported operations:\n- `replace` on `/name` renames the group.\n- `add` on `/externalIds/-` sets the external ID, whether or not the group already has one.\n- `replace` or `remove` on `/externalIds/0` changes or clears an existing external ID, otherwise `422`.\n\nSystem groups are protected: `Entire Fleet` cannot be renamed, and `[Ungrouped]` is read-only.\n\nAn unsupported `op` or `path` returns `400`, and an external ID already used by another group returns `422`. Errors point to the failing operation by index, so `/1/op` is the `op` of the second operation.\n\nSend the `ETag` from an earlier response in `If-Match` to apply the changes only if the group has not changed since; otherwise the request fails with `412` and nothing is updated. Each successful update returns a new `ETag`.\n\nRetrying with the same `Idempotency-Key` and body returns the original outcome without repeating the update.","parameters":[{"$ref":"#/components/parameters/IfMatch"},{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/TraceParent"},{"$ref":"#/components/parameters/TraceState"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPatchRequest"},"examples":{"Rename a group (single operation)":{"value":[{"op":"replace","path":"/name","value":"North West Region Fleet"}]},"Add the external identifier (single operation)":{"value":[{"op":"add","path":"/externalIds/-","value":"fleet:north-west-region-01"}]},"Clear the external identifier (single operation)":{"value":[{"op":"remove","path":"/externalIds/0"}]},"Rename a group and change its external identifier (multiple operations)":{"value":[{"op":"replace","path":"/name","value":"North West Region Fleet"},{"op":"replace","path":"/externalIds/0","value":"fleet:north-west-region-02"}]}}}}},"responses":{"204":{"description":"No Content","headers":{"ETag":{"$ref":"#/components/headers/ETag"}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"412":{"$ref":"#/components/responses/PreconditionFailed"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"$ref":"#/components/responses/UnprocessableContent"},"429":{"$ref":"#/components/responses/TooManyRequests"},"default":{"$ref":"#/components/responses/InternalServerError"}}},"delete":{"tags":["Groups Management API"],"operationId":"deleteGroupById","summary":"Delete a group by ID","description":"Deletes an existing group using either a server-generated `groupId` or a customer-managed `externalId` (formatted as `scope:value`).\n\nNote: This operation is idempotent. Subsequent deletion requests for an already-deleted group will return a `204 No Content` status.\n\nThis operation will fail if the group still contains child groups or attached entities. To delete a group that is not empty, use `POST /v1/groups/{group-id}/delete`.","parameters":[{"$ref":"#/components/parameters/TraceParent"},{"$ref":"#/components/parameters/TraceState"}],"responses":{"204":{"$ref":"#/components/responses/NoContent"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"429":{"$ref":"#/components/responses/TooManyRequests"},"default":{"$ref":"#/components/responses/InternalServerError"}}}},"/v1/groups/{group-id}/delete":{"parameters":[{"$ref":"#/components/parameters/GroupIdPath"}],"post":{"tags":["Groups Management API"],"operationId":"forceDeleteGroup","summary":"Delete a group that is not empty","description":"Deletes a group even when it still has child groups or attached entities (such as users or vehicles). The attached entities are not deleted; they are detached from this group.\n\nSupports idempotent requests via the `Idempotency-Key` request header. A retry with the same key returns the original result without repeating the operation.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"},{"$ref":"#/components/parameters/TraceParent"},{"$ref":"#/components/parameters/TraceState"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForceDeleteGroupRequest"},"example":{}}}},"responses":{"204":{"$ref":"#/components/responses/NoContent"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"$ref":"#/components/responses/UnprocessableContent"},"429":{"$ref":"#/components/responses/TooManyRequests"},"default":{"$ref":"#/components/responses/InternalServerError"}}}}},"components":{"headers":{"ETag":{"description":"Identifies the current version of the group. Treat it as a fixed value and do not change it. Send it in the `If-Match` header to update the group only if it has not changed. It is returned on every successful read, create and update of the group.","required":true,"schema":{"type":"string","minLength":3,"maxLength":120,"pattern":"^\"[a-z0-9-]+\"$"}}},"parameters":{"IfMatch":{"name":"If-Match","in":"header","description":"The `ETag` value from an earlier response for this group. The update is applied only if the group has not changed since then. Otherwise the request fails with 412. Send one value only.","required":true,"schema":{"type":"string","minLength":3,"maxLength":120,"pattern":"^\"[a-z0-9-]+\"$"}},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","description":"Unique client-generated key used to prevent duplicate processing of a request during network retries. Value must be enclosed in double quotes (e.g., \"7b9b5f3a-2a1e-4c8d\").","required":true,"schema":{"type":"string","minLength":3,"maxLength":120,"pattern":"^\"[a-z0-9-]+\"$"}},"TraceParent":{"name":"traceparent","in":"header","description":"Standard W3C Trace Context header used to propagate distributed tracing identifiers across microservices.","required":false,"schema":{"type":"string","minLength":55,"maxLength":55,"pattern":"^00-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-f]{2}$"}},"TraceState":{"name":"tracestate","in":"header","description":"Standard W3C Trace Context header containing vendor-specific routing and tracing key-value pairs.","required":false,"schema":{"type":"string","minLength":1,"maxLength":512,"pattern":"^[^\\n]{1,512}$"}},"GroupIdPath":{"name":"group-id","in":"path","description":"Unique group identifier. Accepts either a server-owned groupId or a customer-owned externalId in scope:value format.","required":true,"schema":{"type":"string","minLength":3,"maxLength":45,"pattern":"^([0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|(?=.{3,45}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+)$"},"examples":{"By groupId":{"value":"019726a4-3b2c-7def-8abc-1234567890ab"},"By externalId":{"value":"fleet:north-west-region-01"}}},"PageToken":{"name":"page_token","in":"query","description":"Opaque pagination token used to fetch the next page of results. Omit this parameter on the initial request.","required":false,"schema":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[^\\n]+$"}}},"responses":{"NoContent":{"description":"No Content"},"BadRequest":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"Forbidden":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"NotFound":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"PreconditionFailed":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"UnsupportedMediaType":{"description":"Unsupported Media Type","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"Conflict":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"UnprocessableContent":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"TooManyRequests":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}}},"schemas":{"ForceDeleteGroupRequest":{"title":"ForceDeleteGroupRequest","description":"Request payload for deleting a group that is not empty. Currently no fields are defined; send an empty object.","type":"object","additionalProperties":false},"GroupCreateRequest":{"title":"GroupCreateRequest","description":"Payload to create a new group","type":"object","additionalProperties":false,"required":["name","parentGroup"],"properties":{"name":{"$ref":"#/components/schemas/GroupName"},"parentGroup":{"type":"object","title":"Parent group for the group","description":"Reference to the primary (parent) group. Provide either groupId or externalId.","oneOf":[{"type":"object","additionalProperties":false,"required":["groupId"],"properties":{"groupId":{"$ref":"#/components/schemas/GroupIdWriteOnly"}}},{"type":"object","additionalProperties":false,"required":["externalId"],"properties":{"externalId":{"$ref":"#/components/schemas/ExternalIdWriteOnly"}}}]},"externalIds":{"type":"array","description":"Optional customer-owned external identifiers for the group in scope:value format.","minItems":0,"maxItems":1,"items":{"type":"string","minLength":3,"maxLength":45,"pattern":"^(?=.{3,45}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$"}}}},"GroupPatchRequest":{"title":"A JSON Patch document as defined by RFC 6902","description":"An ordered list of operations to apply to the group. Operations are applied in the order listed. If any operation fails, none are applied.","type":"array","minItems":1,"maxItems":2,"items":{"$ref":"#/components/schemas/GroupPatchOperation"}},"GroupPatchOperation":{"title":"A JSON Patch operation as defined by RFC 6902","description":"A single operation within a JSON Patch document.","type":"object","additionalProperties":false,"required":["op","path"],"properties":{"op":{"type":"string","description":"The operation to perform. The group resource supports `add`, `replace` and `remove`.","minLength":3,"maxLength":7,"pattern":"^(add|replace|remove)$"},"path":{"type":"string","description":"An RFC 6901 JSON Pointer to the location being changed. The group resource supports `/name`, `/externalIds/-` and `/externalIds/0`.","minLength":5,"maxLength":14,"pattern":"^/(name|externalIds/(-|0))$"},"value":{"type":"string","description":"The new value. Required for `add` and `replace`, and omitted for `remove`. A group name for `/name`, or a `scope:value` external ID for `/externalIds`.","minLength":1,"maxLength":45,"pattern":"^([\\w \\-.&()]{1,32}|[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+)$"}}},"Group":{"title":"Group","description":"Group metadata resource","type":"object","additionalProperties":false,"required":["groupId","name"],"properties":{"groupId":{"$ref":"#/components/schemas/IdReadOnly"},"name":{"$ref":"#/components/schemas/GroupName"},"parentGroup":{"type":"object","description":"The primary (parent) group. Null for root groups.","title":"ParentGroup","properties":{"groupId":{"$ref":"#/components/schemas/IdReadOnly"},"externalIds":{"type":"array","description":"External identifiers of the primary group.","minItems":0,"maxItems":1,"items":{"$ref":"#/components/schemas/IdReadOnly"}}}},"externalIds":{"type":"array","description":"Optional customer-owned external identifiers for the group.","minItems":0,"maxItems":1,"items":{"$ref":"#/components/schemas/IdReadOnly"}},"links":{"description":"Related resources","readOnly":true,"type":"array","uniqueItems":true,"minItems":0,"maxItems":100,"items":{"$ref":"#/components/schemas/Link"}}}},"GroupList":{"title":"GroupList","description":"A paginated collection of group resources.","type":"object","additionalProperties":false,"required":["items"],"properties":{"items":{"type":"array","description":"The page of group resources.","minItems":0,"maxItems":200,"items":{"$ref":"#/components/schemas/Group"}},"links":{"description":"Related resources, pagination information (self, next, prev).","readOnly":true,"type":"array","uniqueItems":true,"minItems":0,"maxItems":10,"items":{"$ref":"#/components/schemas/Link"}}}},"Link":{"title":"Link","description":"Reference to another resource","type":"object","additionalProperties":false,"required":["href","rel"],"properties":{"href":{"description":"URL of linked resource","type":"string","format":"uri-reference","minLength":1,"maxLength":2000,"pattern":"^[^\\n]+$"},"rel":{"description":"Meaning of the values described at IANA (self, next, prev, up).","type":"string","minLength":2,"maxLength":10,"pattern":"^(self|next|prev|up)$"},"method":{"description":"HTTP method to interact with linked resource","type":"string","minLength":3,"maxLength":6,"enum":["GET"]}}},"IdReadOnly":{"type":"string","description":"Reference to an object in Reveal","readOnly":true,"minLength":1,"maxLength":120,"pattern":"^[^\\n]{1,120}$"},"GroupIdWriteOnly":{"type":"string","description":"Group identifier","writeOnly":true,"minLength":36,"maxLength":36,"pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"ExternalIdWriteOnly":{"type":"string","description":"Reference to an object in Reveal by a custom ID set by the consumer, you.","writeOnly":true,"minLength":3,"maxLength":45,"pattern":"^(?=.{3,45}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$"},"GroupName":{"type":"string","description":"Name of the group","minLength":1,"maxLength":32,"pattern":"^[\\w\\s\\-\\.&()]{1,32}$"},"ProblemJson":{"title":"ProblemJson","description":"JSON Schema for HTTP Problems as defined by RFC 9457","type":"object","properties":{"type":{"type":"string","format":"uri-reference","description":"A URI reference that identifies the problem type.","pattern":"^[^\\n]*$"},"title":{"type":"string","description":"A short, human-readable summary of the problem type.","minLength":8,"maxLength":1024,"pattern":"^[^\\n]*$"},"status":{"type":"integer","format":"int32","description":"The HTTP status code generated by the origin server for this occurrence of the problem.","minimum":300,"maximum":599},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem.","minLength":8,"maxLength":2048,"pattern":"^[^\\n]*$"},"instance":{"type":"string","format":"uri-reference","description":"A URI reference that identifies the specific occurrence of the problem.","pattern":"^[^\\n]*$"},"pointer":{"type":"string","description":"A pointer to locate the problem within the request's content using a JSON Pointer. Verizon extension to RFC 9457.","minLength":1,"maxLength":2048,"pattern":"^(\\/[^\\n]+)*$"},"debugId":{"type":"string","description":"A unique error identifier string generated on the service-side and logged for correlation purposes. Verizon extension to RFC 9457.","minLength":8,"maxLength":2048,"pattern":"^[^\\n]*$"},"errors":{"type":"array","description":"List of individual error occurrences.","minItems":0,"maxItems":50,"items":{"type":"object","additionalProperties":false,"required":["detail"],"properties":{"pointer":{"type":"string","description":"A pointer to locate the problem within the request's content using a JSON Pointer.","minLength":1,"maxLength":2048,"pattern":"^(\\/[^\\n]+)*$"},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem.","minLength":8,"maxLength":2048,"pattern":"^[^\\n]*$"},"debugId":{"type":"string","description":"A unique error identifier generated on the service-side for correlation purposes.","minLength":8,"maxLength":2048,"pattern":"^[^\\n]*$"}}}}}}}},"servers":[{"url":"https://api.us.vzconnect.com"}]}
```
