Skip to content

Accept Terms for a Member

Accept terms of service for a member in your workspace.

The accept terms endpoint allows you to accept terms of service for a specific member in your workspace.

Endpoint

MethodUrl
POST/v1.0/members/{user_id}/accept_terms

Path Parameters

user_id
UUID
required

The unique user ID of the member for whom to accept terms.

Sample Request

Copied
1curl -X POST 'https://api.worklayer.com/v1.0/members/{user_id}/accept_terms' \
2-H 'Authorization: Bearer {token}'

Response

Returns a terms acceptance resource containing the acceptance timestamp and user ID.

accept_time
timestamp

The timestamp when the terms were accepted, in ISO 8601 format.

user_id
UUID

The unique user ID of the member for whom terms were accepted.

Sample Response

Copied
1{
2 "accept_time": "2025-11-07T15:30:00.123Z",
3 "user_id": "a6e5ea2f-7d96-4852-9f46-2383dfd572f7"
4}

Errors

  1. Forbidden: API Client cannot accept terms for members.
  2. Unauthorized: API Client does not have valid credentials.
  3. NotFound: The specified user or workspace was not found.
  4. BadRequest: Terms acceptance failed or there was a malformed request.
Last updated on November 7, 2025