Threads

Set a thread's visibility

Changed on

Set a thread's visibility to private or organization.

patch/threads/{threadId}/visibility

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/threads/{threadId}/visibility
  • Auth: none declared

Path parameters

threadIdstring uuid required

Thread ID of the thread to update.

Request body

visibility'private' | 'organization' required

New visibility. 'private' restricts the thread to its owner; 'organization' shares it with the organization.

Response

OK

visibility'private' | 'organization' required

The thread's resulting visibility.

Changes

    • warning

      added the new gitcafe enum value to the // response property for the response status

    • info

      added the optional property / to the response with the status