StackMoreLayersДокументация
APIReference

Удалить ссылку-приглашение

DELETE
/competitions/{competition_id}/invite-links/{public_id}/

Closes the link, as PATCH {status: revoked} does: a link is never deleted, and everyone who joined through it keeps their access.

Personal tokens only for now: access is managed by a person, so a competition automation token is refused (401 token_type_not_allowed).

АвторизацияBearer <token>

StackMoreLayers API token. Send as Authorization: Bearer sml_pat_live_<prefix>.<secret>.

In: header

Параметры пути

competition_id*integer

Numeric competition identifier.

Range1 <= value
public_id*string
Lengthlength <= 64

Ответ

application/json

application/json

application/json

curl -X DELETE "https://example.com/competitions/1/invite-links/string/"
Пусто