`DELETE /v1/orgs/{org}/slack/links/{link_id}`.
DELETE
/v1/orgs/{org}/slack/links/{link_id}
const url = 'https://api.updawg.net/v1/orgs/example/slack/links/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.updawg.net/v1/orgs/example/slack/links/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Organization slug.
link_id
required
string
The slk_… id.
Responses
Section titled “Responses”Unlinked: that Slack user’s clicks act as nobody until they link again.
No session.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}An API token: unlinking is a person’s act.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such link here, or — for anybody but an administrator — not the caller’s.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}