It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

API - revoke/grant customers access to Service Desk Portal

Hello everyone,

I would like to manage with API the revoke/grant access for customers created in Jira Service Desk Cloud.

When I try the "Disable user" request I get "401 unauthorized" while I'm using a valid API key. 

My role is site admin.

My questions :

   - Why I'm "unauthorized" ?

   - Can I revoke/grant customers' access with the previous "Disable user" request or I need to create those customers as users ?

   - When I send "Get customers" request I get in JSON data {[...]"active": true, [...]}, is there a way to POST "active": false ? I found nothing about this in documentation.

   - If all of this is impossible, do you know another way to indirectly manage customers' portal access ?


Thanks for your help,
Cheers,

Anne

1 answer

1 accepted

1 vote
Answer accepted
Dario Atlassian Team Oct 16, 2019

Hi @Anne Morel ,

There is no REST API endpoint currently available to revoke access to portal only customer. For this reason I have opened the below Feature Request on your behalf to have this functionality added:

You may want to vote and watch the above feature request so that you will get notified in case of any update. The  feature will be addressed according to the Implementation of New Features Policy

 

As a temporary workaround, assuming that your customers have managed accounts for the organization you are set as an administrator for (if any), you can convert the portal only customers into Atlassian Accounts with no application access (therefore they will not consume any license).

Please see below links for details:

 

I hope this helps.

 

Cheers,
Dario

Hi @Dario ,

Thanks for your help, I'll use the temporary workaround you suggested.

 

Cheers,

Anne

Like Dario likes this

You are very welcome @Anne Morel ! 

I am happy to know this helped.

Please make sure not to give any application access (Jira Core, Software, Service Desk or Confluence) to the portal only customers converted to  Atlassian Accounts  otherwise they will consume extra licenses and this will impact your bill.

Also, kindly spare some time to accept the answer if you have found it useful.

 

Have a nice day!

Dario

Thanks for more details I'll pay attention.

It's done I accepted the answer =) sorry I thought vote was enought !

 

Cheers,

Anne

Like Dario likes this
Dario Atlassian Team Oct 22, 2019

Thanks again @Anne Morel ! :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

865 views 6 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you