# Managing Affiliates
source: https://developer.mastercard.com/open-finance-us/documentation/participant-model/partner-direct/managing-customers/index.md

Alert: To use the Partner Direct Model via an API, you need to sign up for the [Mastercard Developers API](https://developer.mastercard.com/mastercard-developers-api/documentation/). Users who do not have the permission to access the Mastercard Developers API will be directed to a page where they can request access.

This section explains the various actions you can perform while managing your customers (how to get project details, add or delete credentials, and delete a project). You can either use the Mastercard Developers API or the Mastercard Developers Dashboard.

## Manage Using the Mastercard Developers API {#manage-using-the-mastercard-developers-api}

To retrieve details of all projects available on your project dashboard, including the status of credentials, call [GET project/{project_id}](https://developer.mastercard.com/mastercard-developers-api/documentation/api-reference/?view=api#getProjects). For example, you can call this endpoint to find out the status of your production access request for a project.

Ensure you have the specific `project_id` that uniquely identifies your project. This `project_id` is shared with you when you create a project. Alternatively, you can find the `project_id` in the URI when accessing the specific project on the [Mastercard Developers Dashboard](https://developer.mastercard.com/dashboard).
Once you onboard your affiliates, you can add a new set of credentials (`partnerId`, `secret`, and `appKey`) to their project by calling [POST /projects/{project_id}/credentials](https://developer.mastercard.com/mastercard-developers-api/documentation/api-reference/?view=api#addCredentialToProject). To delete a project credential, call [DELETE /projects/{project_id}/credentials/{credential_id}](https://developer.mastercard.com/mastercard-developers-api/documentation/api-reference/?view=api#deleteProject). Once you delete a credential, they become inactive immediately and you can no longer use it to access the APIs. When deleting a credential, ensure your project has another active credential. Call [PUT /projects/{project_id}](https://developer.mastercard.com/mastercard-developers-api/documentation/api-reference/?view=api#updateProject) to update the following details in a project:

* Project's `name`.
* Name of the `company` on behalf of which the project is created.
* `commercialCountries` - A list of countries where the service's customers are located. This field represents the countries where you can engage in business and is used to determine whether you are eligible to use a specific service or API in a geographic location.

Note: A client `company` cannot be updated once it has been verified. To learn more about company verification, see the [Company Verification](https://developer.mastercard.com/platform/documentation/getting-started-with-mastercard-apis/managing-your-account/company-verification-via-connect-linking/) section of the [Mastercard Developers API](https://developer.mastercard.com/mastercard-developers-api/documentation/). There may be times you need to delete an affiliate partner. For example, the affiliate partner may have been created in error or they no longer work with you.

Call [DELETE /projects/{project_id}](https://developer.mastercard.com/mastercard-developers-api/documentation/api-reference/#apis) using the `project_id` designated to the customer.
Alert: Deleting a project will immediately deactivate the customer's `partnerId` and other credentials. The affiliate customer will no longer be able to access Mastercard's Open Finance APIs.

Mastercard Developers will send an email confirming that the requested customer has now been deleted.

## Manage Using the Mastercard Developers Dashboard {#manage-using-the-mastercard-developers-dashboard}

To view the project details, go to the [project dashboard](https://developer.mastercard.com/dashboard) and click the required project to view its details. To add additional production credentials, click **Request Additional Credentials**. To delete credentials, click **Actions** next to the credentials and select **Delete Credentials**. Once you delete the credentials, you can no longer use them to access the APIs. When deleting a set of credentials, ensure there's another set of active credentials.
1. Go to the [project dashboard](https://developer.mastercard.com/dashboard).
2. Access the affiliate customer's project.
3. In the Project Management section, click **Delete Project**.
