PUT
/
snippet
/
organization
/
{organizationId}
/
team
/
{teamId}
curl --request PUT \
  --url https://enterprise-api.writer.com/snippet/organization/{organizationId}/team/{teamId} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "id": "<string>",
    "snippet": "<string>",
    "shortcut": "<string>",
    "description": "<string>",
    "tags": [
      {
        "tag": "<string>"
      }
    ]
  }
]'
[
  {
    "id": "<string>",
    "snippet": "<string>",
    "shortcut": "<string>",
    "description": "<string>",
    "creationTime": "2023-11-07T05:31:56Z",
    "modificationTime": "2023-11-07T05:31:56Z",
    "createdUser": {
      "id": 123,
      "fullName": "<string>",
      "email": "<string>"
    },
    "modifiedUser": {
      "id": 123,
      "fullName": "<string>",
      "email": "<string>"
    },
    "tags": [
      {
        "tag": "<string>"
      }
    ]
  }
]

We’re deprecating these API endpoints, so the AI Studio API key setup won’t work. [Contact support] (https://support.writer.com/) if you need them.

Headers

Authorization
string
required
X-Request-ID
string

Path Parameters

organizationId
integer
required
teamId
integer
required

Body

application/json · object[]

The body is of type object[].

Response

200
application/json

The response is of type object[].