Users

Users Delete Photo

POST
/users.deletePhoto

Delete the user profile photo

Authorization

slackAuth users.profile:write
AuthorizationBearer <token>

In: header

Scope: users.profile:write

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

token*string

Authentication token. Requires scope: users.profile:write

Response Body

application/json

application/json

curl -X POST "https://example.com/users.deletePhoto" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'token=string'
{  "ok": "True"}