HubstaffDeveloper Portal

Member limits

Manage per-member budget limit groups, member assignments, and project-level alerts

Recent changes (1)
  1. New endpoint

    Member limits API

    Full CRUD for per-member budget limit groups on projects.

    List, create, read, update, and delete member limit groups, including member assignments and project-level alerts.

List project member limits

GET/v2/projects/{project_id}/member_limits

Returns paginated member budget limit groups for the given project.

Requires organization owner or organization manager for the project’s organization.

Each group includes project-level alerts settings shared across all groups on the project.

Parameters

NameInTypeDescription
project_idrequired
pathinteger (int32)
page_start_id
queryinteger (int32)
The page start ID.
page_limit
queryinteger (int32)
The default page size

Responses

200Member limit groups
object
  • member_limitsarray
    array<object>
    items
    object

    MemberLimit model

    • idinteger required

      Member limit group ID

    • typestring required

      Member limit type

    • ratestring

      Rate used when type is cost

    • costnumber

      Cost limit when type is cost

    • hoursnumber

      Hours limit when type is hours

    • start_datestring

      Start date for fixed (non-recurring) budgets

    • recurrencestring

      Budget recurrence period

    • recurrence_startinteger

      Weekly: day of week (0=Sunday through 6=Saturday). Monthly: day of month (1-31).

    • alertsobject required

      Project-level alert settings shared by all member limit groups on the project

      object

      Project-level alert settings shared by all member limit groups on the project

    • member_idsarray required

      User IDs assigned to this member limit group

      array<integer>

      User IDs assigned to this member limit group

      items
      integer(int64)
    • created_atstring required

      When the record was created

    • updated_atstring required

      When the record was last updated

Example response
json
{
  "member_limits": [
    {
      "id": 0,
      "type": "cost",
      "rate": "bill_rate",
      "cost": 0,
      "hours": 0,
      "start_date": "2024-01-15",
      "recurrence": "weekly",
      "recurrence_start": 0,
      "alerts": {},
      "member_ids": [
        0
      ],
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  ]
}
400Invalid parameters
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
401Unauthorized
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
403API access is only for organizations on an active plan
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
404Could not find record
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
429Rate limit exceeded
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}

Create project member limit

POST/v2/projects/{project_id}/member_limits

Creates a member budget limit group for the given project.

All member_ids must already be project members. Users assigned to another group are moved to the new group.

alerts are optional and update project-level notification settings shared by every group on the project.

Example request body:

{
  "type": "cost",
  "cost": 250.25,
  "recurrence": "weekly",
  "recurrence_start": 0,
  "alerts": {"near_limit": 75, "notify_members": true},
  "member_ids": [101, 102]
}

Returns the created member limit group.

Parameters

NameInTypeDescription
project_idrequired
pathinteger (int32)

Request body

object

Create project member limit

  • typestring required

    Member limit type (`cost` or `hours`)

  • ratestring

    When type is cost, specifies which rate to use (`bill_rate` or `pay_rate`)

  • costnumber

    Cost limit (required when type is cost)

  • hoursnumber

    Hours limit (required when type is hours)

  • start_datestring

    Start date for fixed budgets (mutually exclusive with recurrence)

  • recurrencestring

    Makes the limit reset periodically. Omit for fixed budgets

  • recurrence_startinteger

    Weekly: 0=Sunday..6=Saturday. Monthly: day of month (1-31)

  • alertsobject

    Project-level alert settings shared across all groups on the project

    object

    Project-level alert settings shared across all groups on the project

    • near_limitinteger

      Percentage threshold for approaching-limit notifications (1-99)

    • notify_membersboolean

      Whether to notify members when approaching the limit

  • member_idsarray required

    Project member user IDs assigned to the group

    array<integer>

    Project member user IDs assigned to the group

    items
    integer(int32)

Responses

201Member limit created
object
  • member_limitobject
    object

    MemberLimit model

    • idinteger required

      Member limit group ID

    • typestring required

      Member limit type

    • ratestring

      Rate used when type is cost

    • costnumber

      Cost limit when type is cost

    • hoursnumber

      Hours limit when type is hours

    • start_datestring

      Start date for fixed (non-recurring) budgets

    • recurrencestring

      Budget recurrence period

    • recurrence_startinteger

      Weekly: day of week (0=Sunday through 6=Saturday). Monthly: day of month (1-31).

    • alertsobject required

      Project-level alert settings shared by all member limit groups on the project

      object

      Project-level alert settings shared by all member limit groups on the project

    • member_idsarray required

      User IDs assigned to this member limit group

      array<integer>

      User IDs assigned to this member limit group

      items
      integer(int64)
    • created_atstring required

      When the record was created

    • updated_atstring required

      When the record was last updated

Example response
json
{
  "member_limit": {
    "id": 0,
    "type": "cost",
    "rate": "bill_rate",
    "cost": 0,
    "hours": 0,
    "start_date": "2024-01-15",
    "recurrence": "weekly",
    "recurrence_start": 0,
    "alerts": {},
    "member_ids": [
      0
    ],
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}
400Invalid parameters
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
401Unauthorized
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
403API access is only for organizations on an active plan
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
404Could not find record
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
429Rate limit exceeded
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}

Get member limit

GET/v2/projects/{project_id}/member_limits/{member_limit_id}

Returns the member budget limit group with the given ID.

Requires organization owner or organization manager for the project’s organization.

alerts reflect the project’s shared notification settings, not a per-group value.

Parameters

NameInTypeDescription
project_idrequired
pathinteger (int32)
member_limit_idrequired
pathinteger (int32)
Member Limit ID

Responses

200Member limit group
object
  • member_limitobject
    object

    MemberLimit model

    • idinteger required

      Member limit group ID

    • typestring required

      Member limit type

    • ratestring

      Rate used when type is cost

    • costnumber

      Cost limit when type is cost

    • hoursnumber

      Hours limit when type is hours

    • start_datestring

      Start date for fixed (non-recurring) budgets

    • recurrencestring

      Budget recurrence period

    • recurrence_startinteger

      Weekly: day of week (0=Sunday through 6=Saturday). Monthly: day of month (1-31).

    • alertsobject required

      Project-level alert settings shared by all member limit groups on the project

      object

      Project-level alert settings shared by all member limit groups on the project

    • member_idsarray required

      User IDs assigned to this member limit group

      array<integer>

      User IDs assigned to this member limit group

      items
      integer(int64)
    • created_atstring required

      When the record was created

    • updated_atstring required

      When the record was last updated

Example response
json
{
  "member_limit": {
    "id": 0,
    "type": "cost",
    "rate": "bill_rate",
    "cost": 0,
    "hours": 0,
    "start_date": "2024-01-15",
    "recurrence": "weekly",
    "recurrence_start": 0,
    "alerts": {},
    "member_ids": [
      0
    ],
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}
400Invalid parameters
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
401Unauthorized
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
403API access is only for organizations on an active plan
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
404Could not find record
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
429Rate limit exceeded
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}

Update project member limit

PUT/v2/projects/{project_id}/member_limits/{member_limit_id}

Updates a member budget limit group for the given project.

At least one of member_ids, alerts, or a complete budget configuration must be provided.

  • member_ids — when provided, fully replaces the group’s members. Omit to leave members unchanged.
  • alerts — when provided, updates project-level settings shared by all groups. Omit to preserve alerts.
  • Budget fields — provide the full set (type plus cost or hours, and optional rate, recurrence, recurrence_start, start_date) or omit them entirely. Mixed budget payloads are rejected.

Users moved from another group are reassigned automatically.

Returns the updated member limit group.

Parameters

NameInTypeDescription
project_idrequired
pathinteger (int32)
member_limit_idrequired
pathinteger (int32)
Member Limit ID

Request body

object

Update project member limit

  • typestring

    Member limit type (`cost` or `hours`)

  • ratestring

    When type is cost, specifies which rate to use (`bill_rate` or `pay_rate`)

  • costnumber

    Cost limit (required when type is cost)

  • hoursnumber

    Hours limit (required when type is hours)

  • start_datestring

    Start date for fixed budgets (mutually exclusive with recurrence)

  • recurrencestring

    Makes the limit reset periodically. Omit to preserve existing recurrence

  • recurrence_startinteger

    Weekly: 0=Sunday..6=Saturday. Monthly: day of month (1-31)

  • alertsobject

    Project-level alert settings shared across all groups on the project

    object

    Project-level alert settings shared across all groups on the project

    • near_limitinteger

      Percentage threshold for approaching-limit notifications (1-99)

    • notify_membersboolean

      Whether to notify members when approaching the limit

  • member_idsarray

    Replaces the group member list when provided

    array<integer>

    Replaces the group member list when provided

    items
    integer(int32)

Responses

200Member limit updated
object
  • member_limitobject
    object

    MemberLimit model

    • idinteger required

      Member limit group ID

    • typestring required

      Member limit type

    • ratestring

      Rate used when type is cost

    • costnumber

      Cost limit when type is cost

    • hoursnumber

      Hours limit when type is hours

    • start_datestring

      Start date for fixed (non-recurring) budgets

    • recurrencestring

      Budget recurrence period

    • recurrence_startinteger

      Weekly: day of week (0=Sunday through 6=Saturday). Monthly: day of month (1-31).

    • alertsobject required

      Project-level alert settings shared by all member limit groups on the project

      object

      Project-level alert settings shared by all member limit groups on the project

    • member_idsarray required

      User IDs assigned to this member limit group

      array<integer>

      User IDs assigned to this member limit group

      items
      integer(int64)
    • created_atstring required

      When the record was created

    • updated_atstring required

      When the record was last updated

Example response
json
{
  "member_limit": {
    "id": 0,
    "type": "cost",
    "rate": "bill_rate",
    "cost": 0,
    "hours": 0,
    "start_date": "2024-01-15",
    "recurrence": "weekly",
    "recurrence_start": 0,
    "alerts": {},
    "member_ids": [
      0
    ],
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}
400Invalid parameters
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
401Unauthorized
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
403API access is only for organizations on an active plan
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
404Could not find record
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
429Rate limit exceeded
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}

Delete project member limit

DELETE/v2/projects/{project_id}/member_limits/{member_limit_id}

Deletes a member budget limit group for the given project.

Assigned members are removed from the group. Project-level alerts settings are not changed.

Returns 204 No Content on success.

Parameters

NameInTypeDescription
project_idrequired
pathinteger (int32)
member_limit_idrequired
pathinteger (int32)
Member Limit ID

Responses

204Member limit deleted
object
  • member_limitobject
    object

    MemberLimit model

    • idinteger required

      Member limit group ID

    • typestring required

      Member limit type

    • ratestring

      Rate used when type is cost

    • costnumber

      Cost limit when type is cost

    • hoursnumber

      Hours limit when type is hours

    • start_datestring

      Start date for fixed (non-recurring) budgets

    • recurrencestring

      Budget recurrence period

    • recurrence_startinteger

      Weekly: day of week (0=Sunday through 6=Saturday). Monthly: day of month (1-31).

    • alertsobject required

      Project-level alert settings shared by all member limit groups on the project

      object

      Project-level alert settings shared by all member limit groups on the project

    • member_idsarray required

      User IDs assigned to this member limit group

      array<integer>

      User IDs assigned to this member limit group

      items
      integer(int64)
    • created_atstring required

      When the record was created

    • updated_atstring required

      When the record was last updated

Example response
json
{
  "member_limit": {
    "id": 0,
    "type": "cost",
    "rate": "bill_rate",
    "cost": 0,
    "hours": 0,
    "start_date": "2024-01-15",
    "recurrence": "weekly",
    "recurrence_start": 0,
    "alerts": {},
    "member_ids": [
      0
    ],
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}
400Invalid parameters
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
401Unauthorized
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
403API access is only for organizations on an active plan
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
404Could not find record
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}
429Rate limit exceeded
object

Hubstaff_Public_V2_Entities_Error model

  • codestring required

    Legacy string error code for backward compatibility

  • error_codeinteger

    Numeric error code for i18n/programmatic handling. Ranges: 10000-10999 (Auth), 11000-11999 (Validation), 12000-12999 (Resource), 13000-13999 (Rate Limit), 14000-14999 (Time Entry/Activity), 15000-15999 (System). See GET /v2/error_codes for full reference.

  • errorstring required

    Human-readable error message

  • detailsarray

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    array<string>

    Per-attribute validation errors: [{attribute, error}]. Present on validation failures.

    items
    string
Example response
json
{
  "code": "string",
  "error_code": 0,
  "error": "string",
  "details": [
    "string"
  ]
}