Change the state of a transfer (pause or resume).
Returns: Transfer state update result with new state.
Important Notes:
- Requires scope
dwh_transfers_write - Your account must have
dwh.transfer.editpermission. See roles and permissions. - The transfer must exist and belong to your team
- Valid actions: "pause", "unpause"
- Pausing a transfer stops scheduled runs but preserves configuration
- Resuming a transfer restarts scheduled runs from next scheduled time
Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer <your-token>
Unique identifier of the team
Unique identifier of the transfer
New transfer state
{
"transfer_state": "pause"
}Action to perform on the transfer state
Transfer state changed successfully
Response from changing transfer state
Whether the state change succeeded
The current state of the transfer after the action
Bad Request - The request was invalid or cannot be served.
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "INVALID_PARAMETER",
"message": "Invalid Parameter",
"description": "The request contains invalid or malformed parameters."
}
}API request ID
Error code
Error message
Error description
Unauthorized - Authentication is required and has failed or has not been provided.
{
"meta": {
"request_id": "019461A0-0000-7000-8000-000000000000"
},
"error": {
"code": "API_KEY_INVALID",
"message": "Invalid API key",
"description": "Provided API key was invalid."
}
}API request ID
Error code
Error message
Error description
Forbidden - The request is understood, but access is not allowed
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "ACCESS_DENIED",
"message": "Access Denied",
"description": "You do not have permission to perform this operation."
}
}API request ID
Error code
Error message
Error description
Transfer not found
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "NOT_FOUND",
"message": "Not Found",
"description": "The requested transfer could not be found or you do not have access to it."
}
}API request ID
Error code
Error message
Error description
Too Many Requests - Rate limit exceeded.
{
"meta": {
"request_id": "019461A0-0000-7000-8000-000000000000"
},
"error": {
"code": "API_ROW_QUOTA_EXCEEDED",
"message": "Row quota exceeded",
"description": "You have exceeded your row-quota limit of rows for this month. Please log into Supermetrics Hub at https://hub.supermetrics.com/ and upgrade your plan, or contact our Supermetrics support team."
}
}API request ID
Error code
Error message
Error description
Internal Server Error - An error occurred on the server.
{
"meta": {
"request_id": "01892A4D-7586-7000-8000-000000000000"
},
"error": {
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal Server Error",
"description": "An unexpected error occurred. Please try again later or contact support."
}
}API request ID
Error code
Error message
Error description