Skip to content

authRevoke should be POST not GET? #165

@priit-matiisen-scoro

Description

@priit-matiisen-scoro

The Slack API documentation states GET is the preferred way, but

$client->authRevoke([ 'token' => $token, ]);

will result in "invalid_auth"

I tried with curl and the POST request works fine

curl https://slack.com/api/auth.revoke -X POST --header "Authorization: Bearer xxx-xxxx-xxxxxxx"

Can someone confirm the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions