{"method":"POST","path":"https://api.revcent.com/v2/gateway_groups/{gateway_group_id}","summary":"Edit A Gateway Group","description":"Edit a specific gateway group using the gateway_group ID. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/EditGatewayGroup.md for an in-depth overview of this operation.","operationId":"EditGatewayGroup","parameters":[{"in":"path","name":"gateway_group_id","description":"The gateway group ID.","required":true,"schema":{"type":"string","description":"A 20 character user gateway group ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"description":"The gateway group name. Must be unique across gateway groups.","type":"string"},"description":{"description":"The gateway group description.","type":"string"},"enabled":{"description":"Whether the gateway group is currently enabled.","type":"boolean"},"user_gateway":{"description":"An array of user gateway IDs which should be associated with the gateway group. If provided, will replace current gateway group gateway array with provided array, even if empty. Providing an empty array will remove all gateways from group.","type":"array","items":{"type":"string","description":"A 20 character user gateway ID.","minLength":20,"maxLength":20}}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"gateway_group_id":{"type":"string","description":"A 20 character user gateway group ID.","minLength":20,"maxLength":20},"result":{"type":"string"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}