1

While executing

apic products publish climb-on.yaml --server mgmnthost.com --org climbon --catalog sandbox

i am getting

You do not have sufficient permissions to perform this operation.

I executed apic orgs --server mgmnthost.com

but, i am getting nothing with this command.

Might be i am using an incorrect organization name (fetched the name from catalog identifier string.

Can anyone please help?

Thanks. Aman

Aman
  • 159
  • 2
  • 15

1 Answers1

0

you have to make sure that you have:

  • Logged in, using the same server you are trying to publish to:

    apic login --username $USERNAME --password $PASSWORD --server ${APIC_SERVER}

  • The user needs to have publisher permissions in that organization, in the specific catalog you are trying to publish the product to (Product Manager is the default role name for that)

Álvaro Pérez Soria
  • 1,443
  • 1
  • 13
  • 26
  • :Thank for sharing this. It seems to be an issue with the publisher permissions i have in that organization. I will update with the appropriate role here, shortly) – Aman Dec 13 '18 at 03:54
  • I had all the roles specified in the portal. Just that my id had been added by providing the mail-id instead of the unique id within my organization. After re-adding the user with the unique id(specific to the firm), i am able to publish api through CLI. – Aman Dec 19 '18 at 15:40