v1

latestOpenAPI 3.1.0Serval License2026-07-26202952779.1 KB
Tag API

Remove Tag From Subject

Detach a tag from a subject.

post/v2/tags/remove-from-subject

Request body

subjectType'TAG_SUBJECT_TYPE_UNSPECIFIED' | 'TAG_SUBJECT_TYPE_WORKFLOW' | 'TAG_SUBJECT_TYPE_GUIDANCE' | 'TAG_SUBJECT_TYPE_APP_INSTANCE' | 'TAG_SUBJECT_TYPE_RESOURCE' | 'TAG_SUBJECT_TYPE_ENTITLEMENT' required

TagSubjectType is the kind of entity a tag is attached to. Mirrors the DB tag_subject_type enum and keys the polymorphic tag-subject RPCs that replace the per-subject tag-attach RPCs.

Deliberately distinct from AccessRelationshipSubjectType: the two overlap but diverge (tags add workflow/guidance; owners add team) and back separate DB enums. Unifying them would trade enum type-safety for runtime subset validation.

subjectIdstring required
tagIdstring required

Response

Success