docs/org.md in losant_rest-1.0.5 vs docs/org.md in losant_rest-1.0.6

- old
+ new

@@ -13,10 +13,11 @@ * [Patch](#patch) * [Payload Counts](#payload-counts) * [Pending Invites](#pending-invites) * [Remove Member](#remove-member) * [Revoke Invite](#revoke-invite) +* [Transfer Resources](#transfer-resources) <br/> ## Delete @@ -195,12 +196,12 @@ #### Available Parameters | Name | Type | Required | Description | Default | Example | | ---- | ---- | -------- | ----------- | ------- | ------- | | orgId | string | Y | ID associated with the organization | | 575ed6e87ae143cd83dc4aa8 | -| start | string | N | Start of range for payload count query (ms since epoch) | -2592000000 | 0 | -| end | string | N | End of range for payload count query (ms since epoch) | 0 | 1465790400000 | +| start | string | N | Start of range for payload count query (ms since epoch) | | 0 | +| end | string | N | End of range for payload count query (ms since epoch) | | 1465790400000 | #### Successful Responses | Code | Type | Description | | ---- | ---- | ----------- | @@ -209,11 +210,11 @@ #### Error Responses | Code | Type | Description | | ---- | ---- | ----------- | | 400 | [Error](_schemas.md#error) | Error if malformed request | -| 404 | [Error](_schemas.md#error) | Error if application was not found | +| 404 | [Error](_schemas.md#error) | Error if organization was not found | <br/> ## Pending Invites @@ -309,5 +310,39 @@ | Code | Type | Description | | ---- | ---- | ----------- | | 400 | [Error](_schemas.md#error) | Error if malformed request | | 404 | [Error](_schemas.md#error) | Error if organization not found | + +<br/> + +## Transfer Resources + +Moves resources to a new owner + +```ruby +result = client.org.transfer_resources( + orgId: my_org_id, + transfer: my_transfer) + +puts result +``` + +#### Available Parameters + +| Name | Type | Required | Description | Default | Example | +| ---- | ---- | -------- | ----------- | ------- | ------- | +| orgId | string | Y | ID associated with the organization | | 575ed6e87ae143cd83dc4aa8 | +| transfer | [Resource Transfer](_schemas.md#resource-transfer) | Y | Object containing properties of the transfer | | [Resource Transfer Example](_schemas.md#resource-transfer-example) | + +#### Successful Responses + +| Code | Type | Description | +| ---- | ---- | ----------- | +| 200 | [Success](_schemas.md#success) | If resource transfer was successful | + +#### Error Responses + +| Code | Type | Description | +| ---- | ---- | ----------- | +| 400 | [Error](_schemas.md#error) | Error if malformed request | +| 404 | [Error](_schemas.md#error) | Error if organization was not found |