Add

Add tags to a transport

post

Add existing tags (by pk) to a transport.

This endpoint is idempotent - adding a tag that is already assigned will succeed silently.

If a tag being added belongs to a tag group, and the transport already has another tag from the same group, the old tag will be replaced by the new one (only one tag per group allowed).

Authorizations
AuthenticationstringRequired

Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.

Example of authenticated request

$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Path parameters
uidstring Β· uuidRequired

The unique identifier of the transport

Bodyobject[]
pkintegerRequired

The primary key of an existing tag to add

Example: 1
Responses
chevron-right
200

Tags added successfully. Returns the updated list of tags on the transport.

application/json
post
/transports/{uid}/tags/add

Last updated

Was this helpful?